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
{ | |
"response_code": 1, | |
"verbose_msg": "Scan finished, scan information embedded in this object", | |
"resource": "99017f6eebbac24f351415dd410d522d", | |
"scan_id": "52d3df0ed60c46f336c131bf2ca454f73bafdc4b04dfa2aea80746f5ba9e6d1c-1273894724", | |
"md5": "99017f6eebbac24f351415dd410d522d", | |
"sha1": "4d1740485713a2ab3a4f5822a01f645fe8387f92", | |
"sha256": "52d3df0ed60c46f336c131bf2ca454f73bafdc4b04dfa2aea80746f5ba9e6d1c", | |
"scan_date": "2010-05-15 03:38:44", | |
"permalink": "secuscanpro.io/tsapi/v1/analysis/52d3df0ed60c46f336c131bf2ca454f73bafdc4b04dfa2aea80746f5ba9e6d1c/1273894724/", |
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; | |
namespace ConsoleApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] example = { 0, 0, 1, 2, 2, 3, 3, 0, 0, 2, 2, 2, 3, 3, 1, 8 }; |
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; | |
namespace ObjectApp1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var S = new Solution(); | |
Console.WriteLine(S.solution(0)); |
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
//This sorts a list of x,y cords for moving points | |
const cords = [ | |
{ id: 1, x: 1, y: 1 }, | |
{ id: 2, x: 1, y: 2 }, | |
{ id: 3, x: 1, y: 3 }, | |
{ id: 4, x: 1, y: 4 }, | |
{ id: 5, x: 2, y: 1 }, | |
{ id: 6, x: 2, y: 2 }, |
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
-Dawt.useSystemAAFontSettings=lcd | |
-Dawt.java2d.opengl=true |
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
echo $(hostname -I | cut -d\ -f1) $(hostname) | sudo tee -a /etc/hosts |
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
grunt.initConfig({ | |
concat: { | |
foo: { | |
// concat task "foo" target options and files go here. | |
}, | |
bar: { | |
// concat task "bar" target options and files go here. | |
}, | |
}, | |
uglify: { |
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
cd ~ | |
wget http://mydomain/deployment/deployment.script | |
awk '{ sub("\r$", ""); print }' deployment.script > deploy.sh | |
chmod +x deploy.sh | |
./deploy.sh | |
echo 'Deployment Complete' |
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
; XDEBUG Extension | |
[xdebug] | |
zend_extension ="<path>/php_xdebug-*.dll" | |
xdebug.remote_enable = 1 | |
xdebug.remote_port=9000 | |
xdebug.profiler_enable = 1 | |
xdebug.profiler_enable_trigger = 1 | |
xdebug.profiler_output_name = cachegrind.out.%t.%p | |
xdebug.profiler_output_dir ="<tmp dir>" | |
xdebug.show_local_vars=1 |
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 log --after=2016-06-31 --pretty=format:"Committed %h on %cd %s" |