Thursday, August 11, 2016

Linux on a Mac, via Parallels VM - good tips


Parallels - how to get the cursor backCapturing and Releasing the Keyboard and Mouse Input

To start working in your virtual machine, you need first to capture the keyboard and mouse input in the virtual machine. To this effect:

move the mouse pointer over the virtual machine window and
click in the window.
When the keyboard and mouse input is captured in the virtual machine, you cannot move the pointer out of the virtual machine window and all keystrokes and button clicks go to the virtual machine. To release the keyboard and mouse back to the primary OS, press Ctrl+Alt. The keyboard and mouse will be released immediately.
Parallels - remove VMTo remove a virtual machine please follow this steps:

Launch Parallels Desktop, but do not start your virtual machine.
Click on the Parallels icon at the OS X menu bar -> select Control Center. Right-click on your virtual machine and select Remove.

---------------------------------------------------------------------

https://www.reddit.com/r/linux/comments/1lfl25/linux_on_a_mac_via_parallels/

[–]billclark 2 points  
I run Ubuntu, Kali Linux, and Arch in Parallels 8 on a 2013 MacBook Air (8GB RAM, 512GB SSD). I usually dedicate 2GB RAM and 2 virtual CPUs and all 3 of the VMs run just fine, provided I'm not running more than one at a time.
Just choose "Faster Virtual Machine" and "Adaptive Hypervisor" and you'll be fine on moderately spec'd hardware with enough memory.

[–]functioniesta 2 points  
Also don't forget to install parallel tools. I didn't know about this for a long time and was running very slow virtual machines and was wondering why its so slow...
Parallel tools is basically a bundle of drivers and stuff. Its easy to install on some Linux distros like Ubuntu but a little trickier on others.
 
------------------------------------

Installing Kali Linux 2.0 on Parallels Desktop 11

https://vimeo.com/139408247

------------------------------------

Kali Linux Hard Disk Install

http://docs.kali.org/installation/kali-linux-hard-disk-install


Wednesday, August 10, 2016

Mac keyboard shortcuts

command-delete to move file to trash


A lot of other keyboard shortcuts:
https://support.apple.com/en-us/HT201236

TexLexAn Analyze, Classify and Summarize any text.

Kind of old post, this was written in 2010   


 http://texlexan.sourceforge.net/

TexLexAn is the project of an automatic text analyzer, classifier and summarizer. 

It can be used to:
  • Estimate the reading time and the reading difficulty.
  • Categorize a text (automatic classifier).
  • List keywords.
  • Summarize by extraction.
  • Count repetition and estimate the ratio of basic words
  • Look for an eventual plagiarism.
  • Evaluate sentiments.
  • Archive & retrieve documents.
  • Knowledge base.
It works with:
  • url links (use wget ).
  • text and html files.
  • pdf, odt, ppt, doc files but require pdftotext, odt2txt, ppthtml and antiword to be installed).
 The summarizer extracts the most relevant sentences in the text. It simplifies them a little bit by removing the sentences between the brackets and the repetition of same sentences, and replaces the deadwood expressions with their shortest forms (mode VIII). 

-TexLexAn programs are tested on Ubuntu 8.04//9.04/10.04 and FreeBSD 6.2. The binaries included in the package work on Ubuntu 10.04

Auteur: Jean-Pierre Redonnet (last update: 2010/08/13) 


Drop Shipping - Why It's Nearly Impossible To Stop This Amazon and eBay Scheme

https://www.entrepreneur.com/article/278622

the place largely credited with launching this middleman army: It’s DSDomination.com. The site, which says it has had more than 140,000 users

“DS Domination is the first and only platform of its kind that allows the average person to harness the power of multibillion-dollar companies like Amazon, eBay and Walmart at the push of a button,” he says, like an infomercial pitchman. “Using our unique platform, any user can create an income within minutes, simply by copy-and-pasting product information from one company to another.”

To see how this works in real time, I go to eBay and buy a Ripple Rug. There are five listings for the product on this day, and I select one from a seller called AFarAwayGalaxy. The price is $49.51; on Amazon, Ruckel sells it for $39.99. So, how’d this listing get here? Almost certainly, the seller is using some kind of software -- made by DS Domination or a competitor -- that scans Amazon for its best-selling products. (They can also do this on large sites like Walmart’s, though most seem to focus on Amazon). The software found the Ripple Rug, which, on the day in June I buy it, is ranked number 25 in cat toys. Then it copied everything in the Amazon listing and pasted it into an eBay listing --amusingly, right down to the part of the product description that says,“Thank you for viewing our Amazon version of the Ripple Rug.”

The price is usually set between 5 and 15 percent over the Amazon price. When I make the purchase, the person behind AFarAwayGalaxy simply goes to Amazon and buys a Ripple Rug -- but instead of buying it for themselves, they designate it as a gift and have it shipped to me. Because I paid $9.52 above the Amazon price, that’s profit, which AFarAwayGalaxy can keep (minus Paypal and eBay fees). This seller has more than 11,000 items listed on eBay. That can quickly add up to real money.

“That’s genius!” says David Bell, a professor at the University of Pennsylvania’s Wharton School, who studies e-commerce. He’d never heard of this scheme but laughed loudly when I explained it.

But once everyone could comparison shop online, Bakos reasoned, every site would likely have to offer the same price. And yet, it turns out, many shoppers don’t do the research. If they like eBay, they buy on eBay. 

But then he began seeing an uptick in returns and pieced together what was happening: Someone orders the Ripple Rug on eBay, but the product shows up in an Amazon box. The customer is confused, goes to Amazon, sees how much cheaper the product is there and feels ripped off. “Who are they immediately mad at?” Ruckel says. “The people at Ripple Rug, not some person from nowhere!”

The customer then returns the product, setting off a crazy series of events. Let’s say I want to return the Ripple Rug I just bought. I’d push the “return” button on eBay. AFarAwayGalaxy would then go to Amazon, acquire a return label (which is free for Amazon Prime customers) and send it to me. But because eBay sellers can set their own return policies, AFarAwayGalaxy reserves the right to charge customers a 20 percent “restocking fee” -- which in this case would come out to about $9.90 -- as well as a shipping fee. Meanwhile, Amazon would charge Ruckel a return fee and ship him the product so he could inspect it. Almost always, Ruckel says, returned products have been opened and are covered in cat hair -- making them impossible to sell again.

So, in total: I could have lost more than $10. Ruckel would lose $19.51 (that’s the $2.05 per unit it costs him to stock at Amazon’s warehouse, $12.06 in nonrefundable fees for Amazon to process a sale and $5.40 in return fees). And AFarAwayGalaxy, the only person in this transaction to never spend a dime, just made enough money for lunch.

He has appealed to eBay and Amazon, but arbitraging doesn’t appear to violate either platform’s rules. Amazon declined to comment for this story. An eBay spokesman told me, “We don’t specify where sellers obtain the products they sell.” Hitesh Juneja, DS Domination’s cofounder, says he has “a very good relationship with eBay.”

Eric Wildermuth, who sells a line of children’s hats called Snuggleheads, came up with a particularly sneaky punishment: He bought his own hat from an eBay arbitrager for $27 -- and then, before the arbitrager could go to Amazon and make the purchase, Wildermuth changed his Amazon listing price to $199. Result: The arbitrager could either lose $172 on the sale or cancel the purchase, which would damage the arbitrager’s eBay ranking. Wildermuth repeated this about 10 times. “I got these frantic calls [from the arbitrager]. He said, ‘Please don’t do this,’” says Wildermuth. “He knew what I was doing. And I let out a string of expletives.”

But DS Domination has also evolved past arbitraging. It now teaches its most advanced users how to produce their own products and sell them on Amazon. Becker tried it, loved it and gave up arbitraging altogether. She developed a brand called Juligo, a niche in camping equipment, and found a particular hit with a headlamp. It’s just an ordinary, generic light made by a Chinese manufacturer, which she had stamped with her brand. “I’ve sold tens of thousands of those buggers, a ridiculous amount,” she says. “On those alone, I’ve done more than six figures of gross sales over the course of a year.” Now she regularly invests $10,000 in new inventory, has it shipped to her home so she can inspect it for quality and then sends it off to Amazon’s warehouses...

Arbitraging has become too popular for its own good.
When Leacock started, he says, he was able to make a decent living. But now more and more people are flooding eBay with identical listings. “You have no idea how hard it is to make money at it these days,” Leacock writes. “Only the big guys are making money, and not nearly as much as people would think. The attrition rate is sky-high for new people in this business. Very few will make it.”






The Prisoner Workout: Killer Bodyweight Exercises for Small Spaces


http://www.artofmanliness.com/2015/08/05/the-prisoner-workout/

According to the book he wrote in prison, Solitary Fitness, Bronson performs 2,000 push-ups a day. 




 illustration, Hindu push-up, prisoner workout, bodyweight exercises, convict conditioning
Hindu Push-up. This is a dynamic full-body movement that will build strength and flexibility in your chest, shoulders, back, hips, and triceps.
Get in position by standing with your feet slightly wider than shoulder-width apart. Bend down and place your hands on the floor while keeping your arms and legs straight. You should look like an upside down human “v” with your butt being the point of the “v” and your head pointing down to the ground.
To perform the Hindu push-up, you’re going to make sort of a swooping motion with your body. Bring your head down and forward by bending your elbows. When your head gets close to the ground, continue moving your torso forward by arching your back and lowering your hips. Your hips will now be near your hands. Make sure to get a good stretch in your back. Return to the starting position and repeat.

Typewriter Pull-up. Grab the bar with an overhand grip slightly wider than shoulder-width apart. Pull yourself up until your sternum is at the bar. Now, move your body toward one hand, taking some of the weight off the opposite hand. Keep your sternum at the bar. Return your body to the center and repeat on the opposite side. Return to the center and lower your body under control. That is one rep.

 illustration commando pull-up, prisoner workout, bodyweight exercises, convict conditioning
Commando Pull-up. You may remember Rocky doing these babies during his epic training montage. Take an underhand grip with one hand and an overhand grip with the other. Pull your head to one side of the bar for one rep, and then to the other side of the bar on the next rep.

Prisoner Squat. The traditional prisoner bodyweight squat is performed by placing your hands behind your head. Squat down until your thighs are below parallel. Come up. That’s one rep.

Squat Jumps. A plyometric version of the squat to build explosiveness. Perform a prisoner squat as you normally would, but when you reach the bottom of the squat explode up and jump off the ground as high as you can. When your feet are back on the ground, immediately sink into another squat and jump again. Great for HIIT.

pistol squat, prisoner workout, bodyweight exercises, convict conditioning, illustration
Pistol Squat. You’ll have achieved top-dog, alpha-male-prisoner, beast-mode status when you can perform multiple pistol squats. A pistol squat is a one-legged full squat. The leg that you’re not squatting with sticks out right in front of you when you’re in the squat position. When you’re at the bottom of the squat, you sort of look like a pistol, hence the name. It’s a beast to do and will take months to work up to.
There are entire routines to help you accomplish this Herculean feat (and perhaps we’ll hit on it in the future), but one of the best exercises to help you segue into a pistol squat is to perform the assisted variety. Simply grab a pole or some other sturdy object in front of you and lower yourself into a one-legged squat position and use the pole to help pull yourself up. Eventually, you can take off these training wheels and do a free-standing one.


Hanging Leg Raise Variations

 illustration, hanging leg, prisoner workout, convict conditioning, bodyweight exercises
Straight Leg Raises. Grab and hang from a bar with a slightly wider than shoulder-width overhand grip. Keeping your knees straight, raise legs by flexing hips until they are completely flexed, or knees are well above hips. Return until hips are extended downward.
Bent Knee Leg Raises. If you can’t do a straight leg raise, you can modify it by bending your knees and raising them into your chest.
Full Straight Leg Raise. Perform a straight leg raise as you normally would, but instead of stopping when your feet rise above your hips, keep going until your toes touch the bar.
Towel Straight Leg Raises. Place two towels over the bar and grip one in each hand. Perform a straight leg raise while holding onto the towels.
Hanging Windshield Wiper. Perform a straight leg raise, but when your feet come to the top positions, brace your abs and rotate your legs to one side as far as you can. Rotate to the other side. That’s one rep.
One-Arm Straight Leg Raise. You’ll have achieved top-dog, alpha-male-prisoner, beast-mode status when you can perform multiple one-armed straight leg raises and hold yourself in the top position for several seconds.

Burpees

The burpee is the ultimate full-body exercise. There’s a reason football teams, CrossFit practitioners, and elite military forces use the burpee in their workouts. Just one simple movement tests both your strength and aerobic capacities.

  

Basic Burpee. To perform a basic burpee, just follow these instructions:

  • Begin in a squat position with hands on the floor in front of you.
  • Kick your feet back to a push-up position.
  • Immediately return your feet to the squat position.
  • Leap up as high as possible from the squat position.


Burpee With Push-up. Perform the burpee normally, but after you kick out your feet to a push-up position, go ahead and do a full push-up.

Burpee With Hindu Push-up. Instead of just doing a full push-up, make it a Hindu push-up.

Burpee+Pull-up. Stand underneath a pull-up bar or tree branch that is high enough that you have to leap to reach it. Perform a burpee normally, but when you leap up grab the bar and perform a pull-up. Repeat. Did you hear that? That was the sound of your soul dying.

Greasing the Groove

Instead of having a set time period where you try to crank out as many reps as you can, with greasing the groove, you’re performing reps throughout the day. You might set up a system where every half hour, you perform ten push-ups. Assuming you’re up for 12 hours a day, that’s 240 push-ups every day.
I do greasing the groove with pull-ups. I’ve got a pull-up bar hung up in my closet’s doorframe. Anytime I walk by it, I crank out five pull-ups. The number of pull-up reps I’m able to accumulate during the day always surprises me.

Exercise to Failure

For hypertrophy and endurance, simply do one set of each exercise for as many reps as you can.

One Exercise a Day

When Ryan Ferguson was locked up in a Missouri jail from 2004 to 2013 after being wrongly convicted of murder, he started a routine where he focused on just one exercise a day. The goal is to work your way up so that you can complete 500 reps in an hour. It doesn’t matter how many sets you break this up into, just try to get to that 500 rep count before 60 minutes is up.


Saturday, July 23, 2016

Busan Nightlife

Nightlife

The best thing about Busan, is that there is something going on every night. The nightlife is concentrated in primarily 4 areas. The PNU area around where i live has mainly just bars to hit up which isnt good for me because I prefer the club scene. KSU and Seomyeon are good with a mix of good bars and clubs to hit up. Haeundae Beach is where you will find your big house clubs. Not on par with the above four but Gwangan-li Beach has some decent ocean front bars and lounges with good views of the Gwangan Bridge at night. I personally like Seomyean the best so far. Haeundae and KSU have to many westerns guys walking around for my liking. Gaming Kgirls is not easy so and the number of girls that like western dudes is small so the less competition the better.

Haeundae Beach

I love the scene here at night. Long boardwalk. People chilling everywhere. Lots of high end clubs. Im surprised there isnt any good hiphop clubs here.

Club Elune - Busan's main attraction. Nice house club attached to Paradise Hotel that gets international DJ's.

Maktum - Similar to Club Elune, this is a another big house club. Lots of western guys go here. They will provide you with good entertainment throughout the night on how not to pick up Kgirls. Im not that big on house music but the DJ here plays a good mix of hiphop & top 40 also. Favorite club in Haeundae.

Murpii Bar - Another upscale house club like Elune and Maktum. Havent been here yet but it has been around for a longtime so im assuming it draws a good crowd.

Fuzzy Navel - Decent place with a dance floor and pool table.

Miami88 - Has two locations and is a pretty chill lounge playing hiphop and top 40. Took a girl here last week.

Rock n Roll House - If your the rocker type this place is for you. It is on the 14th floor of the SeaStar Building. Cheap drinks and lively crowd. Place has a pool table which I like. Mostly western people at this bar. Almost looks like a bar in the US if it wasnt for the handful of Koreans there.

Neo StarFace - Salsa lessons during the week.

Pale de CZ - This is not a club, it is like an area with many bars and lounges down from Club Elune. Two levels if I remember correctly.

Thursday Party - Western bar chain found all over Busan. Many Koreans and foreigners go here for the wide beer selection and darts.

KSU

Probably the most popular place with the westerners. Esp the girls. Alot of underground venues here for the alternative crowd.

Blue Monkey - Cross between a lounge and a bar.

Club Fabric - Interesting place with cool brick layers for walls.

Club Realize - Alternative joint playing rock n roll, goth, metal, punk, thrash ect. Id imagine the girls here would be kind of easIER lol. Id have to survive the death on my ears though.

Ghetto - Thought this place was gonna be mainly hiphop but it is a kind of urban house scene. Good drink prices. Alot of young koreans go here. Not many westerners surprisingly.

Long T Bar - Good spot for $5 long islands and for playing a game of pool.

The New Foxy - Havent been here but it should be good if its like its counter part in Seomyeon. Great for hiphop!

Vinyl - Place to be if you like live music.

Seomyeon

The downtown area of Busan with a good mix of venues. Tons of Koreans go out here to party. There is one club that seem to be jumping that I forgot the name of right down the street from Foxy.

Club Foxy - This is my favorite club so far. Two stories. First floor is playing house, second floor is playing real hiphop and it has a lounge off to the side. On top of that there is also and seperate bar for siting away from the noise on the second floor also.

Champion Nightclub - Upscale club, dress to impress here.

Fuzzy Navel

Thursday Party

Metal City & Rock n Roll Bar - Im grouping these two together. Both play metal and have live music.

PNU

This is mainly just a bar scene area near the Pusan National University. So lots of college girls walking around.

Soul Train - Probably my favorite bar in PNU. Mostly westerners but the ratio is usually pretty good if you get there early. You can pick your own music from a computer which is pretty cool.

Crossroads - This bar is right above Soul Train

The Basement - Was here last weekend and it aint bar. It is abit small but it does have a lil dance floor and a pool table.

Someday - Not that great. But it is worth a quick walk to see if there is any talent in there. Won tons of shots playing darts here.

Gwangan-li

Cool laid back beach area lit up at night with the crazy lights of the Gwangan Bridge. One of my favorite spots in Busan.

Club 3f - House and techno joint

Enoch Mansion - This place plays a bit of everything. Alot of techno though.

Beach Bikini Bar

Fuzzy Navel

Thursday Party

Strip Clubs / P4P

There isnt any strip clubs to my knowledge in Busan. But they do have these things called booking / hostess clubs. Where men go to meet women and women go to meet men, although many are just there to get free drinks and shit. Bring a fat wallet to one of these places. Never know you might get lucky. As far as P4P goes there is an area dedicated just for that. The area is called Texas Street. It is comprised of Russian and SEA bar / whore houses. Been meaning to go check this area out but havent done it yet. Sounds like a fun time.

Final Thoughts

I love Busan the city. Has beautiful mountains and beaches. Good nightlife. Lots of stuff to do. Great transportation system. Good mix of westerners to boot. If you are planning on moving here Id highly suggest staying in Seomyeon because of its central location. (easy cheap taxi ride at night when the subway closes) If not Seomyeon that Haeundae or Gwangan-li Beach. Also I forgot to mention about the food, but be SURE to try some good Korean BBQ! It is not expensive and real good!

Busan guide book, Gwangju bus schedule