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
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
-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
//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
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
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
{ | |
"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; | |
namespace CyclicRotation | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
var S = new Solution(); | |
var A = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 }; |
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 PermMissingElem | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
int[] A = new int[] { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 18 }; | |
var S = new Solution(); |
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; | |
namespace Trees1 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |