-
Open Food Facts: http://fr.openfoodfacts.org/
-
Eggs with Creamy Bacon Grits: http://www.framedcooks.com/2013/04/eggs-with-creamy-bacon-grits.html
-
The Best Breakfast Sandwich: http://www.framedcooks.com/2013/10/best-breakfast-sandwich.html
-
Eggs in Cloud: http://www.framedcooks.com/2014/08/eggs-clouds.html
-
The Ultimate Bacon Cheeseburger: http://aht.seriouseats.com/archives/2013/07/ultimate-bacon-cheeseburger-food-lab.html
-
Foodhacks: http://socialdose.com/34-clever-food-hacks-will-change-life / http://imgur.com/gallery/D1TAg
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 | |
cat <<EOCAT >"/var/lib/pxe/dnsmasq.conf" | |
interface=enp0s20u2 | |
dhcp-range=enp0s20u2,192.168.1.2,192.168.1.10,12h | |
dhcp-option=1,255.255.255.0 | |
dhcp-option=3,192.168.1.1 | |
dhcp-boot=pxelinux.0 | |
enable-tftp | |
tftp-root=/var/lib/pxe/tftp |
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 | |
declare hostapd_pid= | |
declare dnsmasq_pid= | |
declare network_device="${1:-wlp2s0}" | |
cat <<EOCAT >"$( pwd )/hostapd.conf" | |
interface=${network_device} | |
driver=nl80211 |
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
object TryMagnetPattern { | |
sealed trait TextMagnet { | |
val text: String | |
def apply(f: String => String): String = f(text) | |
} |
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
object TryViewBound { | |
case class Person(val firstName: String, val lastName: String) | |
trait HasIdentity { | |
def identity(): 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
object TryContextBound { | |
case class Ball(radius: Double, color: String) | |
case class Cube(height: Double, width: Double, depth: Double) | |
trait HasVolume[A] { | |
def volume(a: A): Double |
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
object TryCustomStringInterpolation { | |
class TextFunction(val function: String => String) extends Function[String, String] { | |
def apply(text: String): String = function.apply(text) | |
} | |
implicit class SQLStringContext(val stringContext: StringContext) extends AnyVal { |
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
/* | |
* To change this license header, choose License Headers in Project Properties. | |
* To change this template file, choose Tools | Templates | |
* and open the template in the editor. | |
*/ | |
package com.github.radium226.gists; | |
import com.esotericsoftware.kryo.Kryo; | |
import com.esotericsoftware.kryo.io.Input; | |
import com.esotericsoftware.kryo.io.Output; |
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 radium.gist; | |
import java.lang.reflect.Method; | |
import org.objenesis.ObjenesisHelper; | |
import javassist.util.proxy.MethodHandler; | |
import javassist.util.proxy.ProxyFactory; | |
import javassist.util.proxy.ProxyObject; |
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
DECLARE | |
C_RANDOM CONSTANT NUMBER := 7; | |
v_refcursor SYS_REFCURSOR; | |
v_column_1 NUMBER; | |
v_column_2 NUMBER; | |
v_column_count NUMBER; | |
v_table_description dbms_sql.desc_tab; |