Class Gun
{
shootSound = "Bang"
function shoot()
{
makeNoise(shootSound)
}
}
This file contains hidden or 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
######################################################################### | |
# common include file for application Makefiles | |
# | |
# Makefile Common Usage: | |
# > make | |
# > make install | |
# > make remove | |
# | |
# Makefile Less Common Usage: | |
# > make art-opt |
This file contains hidden or 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
Show hidden characters
{ | |
"shell": true, | |
"cmd": ["make install"], | |
"working_dir": "/path/to/project", | |
"path": "/usr/local/bin:$PATH", | |
"env":{ | |
"ROKU_DEV_TARGET": "192.168.0.1" | |
}, | |
"variants": [ |
class Ship
{
function droidWillFitInCockpit() : Boolean
{
var droid:Droid = getCurrentDroid()
var droidHeight:Integer = 0;
if(this.droid.name == "C-3PO")
{
droidHeight = 167
This file contains hidden or 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
function getSalary() : Number | |
var employee:Employee = new Employee() | |
var salary:Number = employee.salary | |
if(employee.hasBonus) { | |
salary = employee.salary * 1.1 | |
} | |
return salary | |
} |
This file contains hidden or 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 diff mybranch master -- myfile.cs |
This file contains hidden or 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 tag -d <TAG_NAME> | |
git push origin :refs/tags/<TAG_NAME> |
This file contains hidden or 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 diff --stat origin/master |
This file contains hidden or 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 reset --hard ORIG_HEAD |