$ uname -r
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
// https://play.golang.org/p/juDjWm9VC44 | |
package main | |
import "fmt" | |
type T struct { | |
Id int | |
Name string | |
Flurb []string | |
} |
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
vyos@vyos:~$ show version | |
Version: VyOS 1.0.4 | |
Description: VyOS 1.0.4 (hydrogen) | |
Copyright: 2014 SO3 Group | |
Built by: maintainers@vyos.net | |
Built on: Mon Jun 16 15:58:49 UTC 2014 | |
Build ID: 1406161558-32e5690 | |
System type: x86 64-bit | |
Boot via: livecd | |
Hypervisor: VMware |
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
# Creating keys | |
# | |
cp -rv /usr/share/doc/openvpn/examples/easy-rsa/2.0/ /config/easy-rsa2 | |
# Edit vars | |
vi /config/easy-rsa2/vars | |
cd /config/easy-rsa2/ | |
source ./vars |
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
package main | |
import ( | |
"encoding/json" | |
"reflect" | |
"fmt" | |
) | |
type GenericObj struct { | |
Overwrite interface{} `json:"overwrite"` |
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
### Use this space to try out ideas and free code ### | |
#!/usr/bin/python | |
import json | |
import os | |
import time | |
import sys | |
import shutil |
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
//******************************************************************* | |
// Edited with https://www.compilejava.net/ | |
// Static member example | |
//******************************************************************* | |
import java.lang.Math; // headers MUST be above the first class | |
// one class needs to have a main() method | |
public class HelloWorld | |
{ |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
- Stores data elements based on an sequential, most commonly 0 based, index.
- Based on tuples from set theory.