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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace ReduceFilePath | |
{ | |
class ReduceFilePath | |
{ | |
public const string CurrentFolderToken = "."; | |
public const string ParentFolderToken = ".."; |
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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace GoldbachConjecture | |
{ | |
class GoldbachConjecture |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace MagicSquare | |
{ | |
class MagicSquare | |
{ |
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
.title { | |
font-size: 30; | |
horizontal-align: center; | |
margin:20; | |
} | |
button { | |
font-size: 42; | |
horizontal-align: center; | |
} |
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
var CustomMessageCompositeViewControllerDelegate = NSObject.extend({ | |
// pass resolve and reject functions to the delegate instance and save them as instance properties | |
initWithResolveReject: function(resolve, reject) { | |
var self = this.super.init(); | |
if(self) { | |
this.resolve = resolve; | |
this.reject = reject; | |
} | |
return 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
#!/usr/bin/env python | |
import os | |
import subprocess | |
import shlex | |
import sys | |
def env(env_name): | |
return os.environ[env_name] |