This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print ("This is python script.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commandVBoxManage = 'VBoxManage' | |
hdSuffixNames = ['boot', | |
'root', | |
'tmp', | |
'var', | |
'usr', | |
'usr-local', | |
'swap', | |
'home'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name=java-6-oracle | |
alias=java-6-oracle | |
priority=63 | |
section=non-free | |
jre ControlPanel /usr/lib/jvm/java-6-oracle/jre/bin/ControlPanel | |
jre java /usr/lib/jvm/java-6-oracle/jre/bin/java | |
jre java_vm /usr/lib/jvm/java-6-oracle/jre/bin/java_vm | |
jre javaws /usr/lib/jvm/java-6-oracle/jre/bin/javaws | |
jre jcontrol /usr/lib/jvm/java-6-oracle/jre/bin/jcontrol |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add - | |
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list' | |
sudo aptitude update | |
sudo aptitude install jenkins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use the previously fetched /Users/apprentice/.pythonbrew/dists/Python-3.2.3.tgz | |
Extracting Python-3.2.3.tgz into /Users/apprentice/.pythonbrew/build/Python-3.2.3 | |
This could take a while. You can run the following command on another shell to track the status: | |
tail -f "/Users/apprentice/.pythonbrew/log/build.log" | |
Installing Python-3.2.3 into /Users/apprentice/.pythonbrew/pythons/Python-3.2.3 | |
./configure --prefix="/Users/apprentice/.pythonbrew/pythons/Python-3.2.3" --with-computed-gotos MACOSX_DEPLOYMENT_TARGET=10.7 --enable-shared | |
checking for --enable-universalsdk... no | |
checking for --with-universal-archs... 32-bit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git merge [-n] [--stat] [--no-commit] [--squash] | |
[-s <strategy>] [-X <strategy-option>] | |
[--[no-]rerere-autoupdate] [-m <msg>] [<commit>…] | |
--no-commit | |
Perform the merge and commit the result. This option can be used to override --no-commit. | |
With --no-commit perform the merge but pretend the merge failed and do not autocommit, to give the user a chance to inspect and further tweak the merge result before committing. | |
ours |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Finder" to close every window |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import argparse | |
from selenium import webdriver | |
class TokenRetriever: | |
# | |
test_flight_link_address = 'https://testflightapp.com/' | |
# | |
def __init__(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Assembly_FSharp_vs | |
open UnityEditor | |
open UnityEngine | |
type public SomeTool() = | |
inherit UnityEditor.EditorWindow() | |
// | |
[<MenuItem("MySelection/Print Selection")>] | |
static member ShowWindow() = UnityEditor.EditorWindow.GetWindow(typeof<SomeTool>) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open System.IO | |
let sizeOfFolderComposed folder = | |
let getFiles folder = | |
Directory.GetFiles(folder, "*.*", SearchOption.AllDirectories) | |
let totalSize = | |
folder | |
|> getFiles | |
|> Array.map (fun file -> new FileInfo(file)) |
OlderNewer