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
... | |
image/webp webp; | |
... |
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
<section class="comments"> | |
<div class="g-comments" data-href="{{@blog.url}}{{url}}" data-first_party_property="BLOGGER" data-view_type="FILTERED_POSTMOD">Loading Google+ Comments ...</div> | |
<script async type="text/javascript" src="//apis.google.com/js/plusone.js?callback=gpcb"></script> | |
<noscript>Please enable JavaScript to view the <a href="https://plus.google.com/">comments powered by Google+.</a></noscript> | |
</section> |
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 app = angular.module('guest', []); | |
app.config(['$controllerProvider', '$routeProvider', '$locationProvider', function ($controllerProvider, $routeProvider, $locationProvider) { | |
app.controller = $controllerProvider.register; | |
$locationProvider.html5mode(true); | |
$routeProvider.when('/', { | |
templateUrl: '/sometemplate', | |
controller: 'welcome', |
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
angular.module('someapp').factory('someService', ['$q', function($rootScope, $q, socket) { | |
var data = {}; | |
return { | |
set: function (value) { | |
data = value; | |
}, | |
get: function () { | |
return data; | |
} |
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
#!/bin/bash | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
if [ ! -z "$1"] && [ ! -z "$2" ]; then | |
echo "Usage: ./makeUSB /path/file.iso /dev/sdx" | |
exit 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
package main | |
import ( | |
"fmt" | |
"github.com/miekg/dns" | |
"log" | |
"net" | |
"os" | |
"strings" | |
) |
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
#pragma config(Motor, port3, leftMotor, tmotorVex393_MC29, openLoop) | |
#pragma config(Motor, port4, rightMotor, tmotorVex393_MC29, openLoop, reversed) | |
#pragma config(Motor, port5, handServo, tmotorServoStandard, openLoop) | |
#pragma config(Motor, port8, handServo2, tmotorServoStandard, openLoop) | |
#pragma config(Motor, port9, armMotor, tmotorVex269_MC29, openLoop) | |
task main () | |
{ | |
int handState1 = 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
#!/bin/bash | |
# | |
#Script to update ip on Hurricane Electric every 30 minutes | |
#@author Aaron Ogle | |
#Variables | |
HE_userid=<userid> | |
HE_passwd=<passwordhash> #echo -n "yourpassword" | md5sum | |
HE_tunnelid=<tunnelid> |
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
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
iface eth0 inet dhcp | |
# Primary network interface ipv6 settings | |
# This isn't needed if you are only connecting out with this machine. |
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 program demonstrates a parser | |
*/ | |
import java.io.*; | |
import java.io.IOException; | |
import javax.swing.*; | |
import java.util.*; | |
import java.io.File; | |
import java.io.FileNotFoundException; |
OlderNewer