Skip to content

Instantly share code, notes, and snippets.

View estevanjantsk's full-sized avatar
:shipit:

Estevan Jantsk estevanjantsk

:shipit:
View GitHub Profile
@estevanjantsk
estevanjantsk / 0_reuse_code.js
Created December 19, 2016 12:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
$stateProvider
.state('angular',
url: '/'
controller: 'GeneralController'
views:
'sidebar':
templateUrl: 'sidebar.html'
controller: 'SidebarController'
'header':
templateUrl: 'header/header.html'
@estevanjantsk
estevanjantsk / jsonnet.txt
Created November 26, 2015 14:40
JSONNETExample e JavaScriptSerializerExample
using Newtonsoft.Json;
// deserialize JSON directly from a file
String JSONstring = File.ReadAllText("JSON.json");
Person p1 = JsonConvert.DeserializeObject<Person>(JSONstring);
Console.WriteLine(p1);
// output JSON file