Skip to content

Instantly share code, notes, and snippets.

@chischaschos
chischaschos / bardsung.md
Last active January 19, 2023 21:19
Writing the steps to play Bardsung from memory while learning Mermaid JS
flowchart TD
  subgraph theGame[The Game]
    openBox-->doSortingComponents
    doSortingComponents-->askFirstTime{First time playing?}
    askFirstTime -- Yes --> doFirstTimePlaying
    askFirstTime-->|No| doPrepareAdventure
  end
  
  subgraph doFirstTimePlaying [First time playing]
a = "a"
puts a
a = "b" "b"
puts a
a = "c""c"
puts a
a = """"
@chischaschos
chischaschos / Gemfile
Last active August 26, 2015 20:53
Pure ActiveRecord + RSpec + SQLite example
source 'https://rubygems.org'
gem 'sqlite3'
gem 'rspec'
gem 'rspec-collection_matchers'
gem 'activerecord'
@chischaschos
chischaschos / Gemfile
Last active August 29, 2015 14:23
bare-capybara-googler
source :gemcutter
gem 'rspec'
gem 'capybara'
require 'securerandom'
require 'em-http-request'
require 'pry-nav'
require 'json'
require 'faye/websocket'
require 'eventmachine'
require 'rest_client'
class WTV
def initialize(my_id, my_token)
@chischaschos
chischaschos / all-time-stats.json
Created March 31, 2015 16:35
all-time-stats.json
[
{
"Name": "anthonyjsmith",
"PRs": [
"https://api.github.com/repos/pmq20/mathjax-rails/pulls/10"
],
"TotalPRs": 1
},
{
"Name": "Senjai",
package main
import (
"flag"
"log"
"net"
"strings"
)
var isRoot bool
package default_module
import (
"appengine"
"appengine/datastore"
"appengine/delay"
"net/http"
)
func GtinSynchronizeDeleterHandler(context appengine.Context, w http.ResponseWriter, r *http.Request) {
@chischaschos
chischaschos / README.md
Last active August 29, 2015 14:07
CI PK Night # 1

CI PK Night # 1

La idea

La idea es que hables de algo que te guste, o que ames, o de vivencias personales. Es algo personal, es sobre compartir con los demas un poco de nosotros.

Chequele el FAQ http://www.pechakucha.org/faq

En el idioma que gustes, preferentemente español o ingles.

Cuando

package main
import (
"strings"
"fmt"
"io/ioutil"
"net/http"
"net/url"