I hereby claim:
- I am kaitsh on github.
- I am kaitsh (https://keybase.io/kaitsh) on keybase.
- I have a public key whose fingerprint is 616D 700D DB44 C5BA 5D26 CA81 4D87 83B0 E4CA 67E8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Fehler oder Fehlendes bitte in den Kommentaren anmerken! :)
Due to the high usage of this guide and the lack of comfort in Gist's commenting area, I decided to make a blog post out of this which you can find here:
http://blog.frd.mn/install-os-x-10-10-yosemite-in-virtualbox/
https://www.youtube.com/watch?v=tafqhSUfKnY points to: https://drive.google.com/folderview?id=0B9oZd81xqtTOckJOT25uTzVfT3c&usp=sharing
defmodule YourAppName.Search do | |
# ... | |
@doc """ | |
Queries listings. | |
""" | |
def query_listings(query, current_user) do | |
default_scope = from l in Listing, where: l.draft == false or l.user_id == ^current_user.id, order_by: [desc: l.updated_at], limit: 50 | |
id = _try_integer(query) |
# List all installed packages with size | |
xbps-query -m | while read PKG; do xbps-query $PKG | awk '$1 ~ /pkgver|installed_size/ {printf "%s ", $2}'; printf "\n"; done |
<header> | |
<h1><span>Is there a way to keep the irregular coloured background in such a way that each line of text doesn't obscure the previous line?</span></h1> | |
</header> | |
<style> | |
header { | |
width: 100%; | |
max-width: 36em; | |
margin: 0 auto; | |
padding: 5em 0; |
/* | |
To calculate the RUC number for your cedula: | |
Starting with the rightmost digit, multiply it by 2. | |
Then, multiply the next digit by 3 and add it to the first result. | |
Then, multiply the next digit by 4 and add it to the running total. | |
... keep doing this. | |
Finally, take the remainder of the the total divided by 11 (called the modulo), | |
and subtract it from 11. | |
original inspiration: http://www.necesitomas.com/digito-verificador |
// | |
// This section is just for context | |
// | |
#include <xcb/xcb.h> | |
#include <stdlib.h> | |
#include <stdint.h> | |
#include <stddef.h> | |
typedef int8_t int8; |
#!/bin/bash | |
# script from http://www.linux-kvm.org/page/Simple_shell_script_to_manage_your_virtual_machine_with_bridged_networking | |
###################### | |
## Default settings ## | |
###################### | |
## Directory and files | |
if ! [ -d $2 ] |
-- Procedure to export grades for a year and class from the markbook | |
DROP PROCEDURE IF EXISTS customMarkbookGrades; | |
DELIMITER $$ | |
CREATE PROCEDURE customMarkbookGrades ( | |
IN school_year_id int(3), | |
IN year_group VARCHAR(256), | |
IN class_name VARCHAR(256), | |
IN grade_type VARCHAR(256) |