View foo.csv
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
test | 123 |
---|
View main.rs
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
extern crate yaml_rust; | |
use yaml_rust::{Yaml,YamlLoader}; | |
use std::collections::HashMap; | |
#[derive(Debug)] | |
struct Project { | |
name: String, | |
url: String, | |
deps: HashMap<String, String> | |
} |
View andre@status.gpg
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQENBF6xjdoBCADJ9wCEMMvDLk8NrzYHA1aS51uJJJvs4dArSEDhlx79aKCkmrX/ | |
2SKuo8V7gbRmJNn1EyKVmGr4jKqBQaLNmLrn13T6p1t5NikErjIH1Ph87NHxO10H | |
/JWy3O1PpVYjrgVYq7odm9wX02o46JQ5hqJ0ycZQXqJLreRDUg9sJ3QPKDymVhS/ | |
82/D2ZXtMpBVK7LfRWY+Od0UAYEafYcT2+xlTAgz+bUtdWM+YimAiWMRVLNrpqeI | |
pv9Ri0fEBFyVTKRnjcixKIZ1c1InNivXxZmLgD+UrAMxPKQKH3qalxuIASG92qrB | |
WVFrdXxefdJ7k9L4oTvwd1C5IQuO/1vNQcrHABEBAAG0IEFuZHJlIE1lZGVpcm9z | |
IDxhbmRyZUBzdGF0dXMuaW0+iQFOBBMBCAA4FiEEf2r+XxTfAMOMgvYjzTYcN1bw | |
qHAFAl6xjdoCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQzTYcN1bwqHAv |
View index.html
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
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/gh/ethereum/web3.js@1.0.0-beta.34/dist/web3.js"></script> | |
<script src="https://cdn.ethers.io/scripts/ethers-v4.min.js"></script> | |
</head> | |
<body> | |
<script> | |
document.addEventListener("DOMContentLoaded", function () { | |
if (typeof window === 'undefined' || !window.ethereum) { | |
alert('noce dice') |
View apfs_volume.rb
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
# typed: true | |
# frozen_string_literal: true | |
require('dev') | |
require('fileutils') | |
module Dev | |
module Helpers | |
class APFSVolume | |
extend(T::Sig) |
View main.go
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" | |
"encoding/json" | |
) | |
type Thing1 struct {} | |
func (Thing1) DoThing() {} |
View test.c
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
// gcc -lcmark -o test test.c | |
#include <cmark.h> | |
int main(int argc, char *argv[]) { | |
int options = CMARK_OPT_DEFAULT; | |
cmark_parser *parser = cmark_parser_new(options); | |
cmark_parser_feed(parser, "Hello **world**.\n", 17); | |
cmark_node *document = cmark_parser_finish(parser); |
View ansible-bootstrap-ubuntu-16.04.yml
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
# Add this snippet to the top of your playbook. | |
# It will install python2 if missing (but checks first so no expensive repeated apt updates) | |
# gwillem@gmail.com | |
- hosts: all | |
gather_facts: False | |
tasks: | |
- name: install python 2 | |
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal) |
View xterm-256color-italic.terminfo
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
# A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
# | |
# Install: | |
# | |
# tic xterm-256color-italic.terminfo | |
# | |
# Usage: | |
# | |
# export TERM=xterm-256color-italic | |
# |
View options.rb
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
# Option 1 | |
info = if publication | |
"Title: #{ publication.title } (ID: #{ publication.id })" | |
else | |
'N/A' | |
end | |
# Option 2 | |
info = case publication | |
when Publication then puts "Title: #{ publication.title } (ID: #{ publication.id })" |
NewerOlder