Skip to content

Instantly share code, notes, and snippets.

@prologic
prologic / LearnGoIn5mins.md
Last active May 5, 2024 17:04
Learn Go in ~5mins
@Emmanuerl
Emmanuerl / awk.MD
Created May 5, 2024 16:05
Backend study group AWK hands on session

The AWK CLI Tool

A step by step introduction into the AWK command, it's syntax, uses and sample use cases.

Introduction

The awk command is a column based manipulation tool that can be used for a variety of things, from reading CSVs to killing processes, literally. At the very core, AWK is based on the following awk '{expression to qualify output} {print $output expression}' Although it's a cli tool, it offers a lot of programming language paradigms such as

@voidfiles
voidfiles / adn_activitystream.json
Created August 6, 2013 22:06
Example ActivityStream output from App.net API.
{
"meta": {
"code": 200
},
"data": {
"items": [{
"generator": {
"link": "http://wedge.natestedman.com",
"name": "Wedge",
"client_id": "PDvZfuW8zhzjwU8PF9KEzFbAcTn6T67U"
@tzermias
tzermias / ip_forward.md
Last active May 5, 2024 17:03
Forward traffic from wlan0 to eth0 interface

Forward traffic from a laptop's eth0 to wlan0

###To laptop

Specify an IP address to eth0 (here 192.168.56.1)

sudo ifconfig eth0 192.168.56.1 netmask 255.255.255.0
@voidfiles
voidfiles / test_script.md
Created October 17, 2013 18:20
Test feed fetch from appengine.

Run this script line by line here, and when you make it work there it will work in pourover.

from google.appengine.api import urlfetch
resp = urlfetch.fetch('http://www.vlachbild.de/feed/', deadline=60)
print resp.content
@fdrtec
fdrtec / eclipse-atalhos.md
Created March 14, 2017 13:58
eclipse: atalhos de teclado shortcuts
@voidfiles
voidfiles / 0_reuse_code.js
Created December 14, 2013 01:55
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
@Tsunder
Tsunder / readme_oo_EN.md
Last active May 5, 2024 17:02
Elona Omake Overhaul EN changelog (from omake)

Overview

This is a mod for elona_omake (2015/06/20). Please move all files into the same folder elona_omake.exe is in before starting. As not enough testing has been done, please make sure to have a backup ready just in case. In addition, this readme does not list changes featured in omake, so be sure to read through omake's readme as well. "omake_overhaul" was created to implement additional features I wanted to see in omake while not putting burden on the brother who created omake.

Purpose

By modifying extreme difficulty curveballs and associating each gameplay element I aim to bring to more excitement, sense of accomplishment, and immersive experience to the world of Elona.

using mode_t = unsigned int;
using size_t = decltype(sizeof(int));
namespace detail
{
struct invalid_permission_character {};
struct invalid_permission_string_length {};
consteval mode_t from_readable_mode_string(const char * const s)
{
@voidfiles
voidfiles / comments.html
Created February 13, 2014 01:25
Embed the App.net comments widget on your website.
<script src="https://d105v2jof9gtr3.cloudfront.net/embed.js" id='adn-comments'></script>