To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
- Homebrew
- Mountain Lion -> High Sierra
desc "convert a latin1 database with utf8 data into proper utf8" | |
task :convert_to_utf8 => :environment do | |
puts Time.now | |
dryrun = ENV['DOIT'] != '1' | |
conn = ActiveRecord::Base.connection | |
if dryrun | |
def conn.run_sql(sql) | |
puts(sql) | |
end | |
else |
To setup your computer to work with *.test domains, e.g. project.test, awesome.test and so on, without having to add to your hosts file each time.
/* gcc hi.c -o hi -lcrypto */ | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <openssl/crypto.h> | |
int | |
main(int argc, char *argv[]) | |
{ | |
void *(*openssl_malloc)(size_t), (*openssl_free)(void *); |
$(document).ready(function() { | |
$("#main_slide-1").addClass("active"); | |
$(".slider-link-boxes").on("click", function() { | |
$(".slider-link-boxes").removeClass("active"); | |
$(this).addClass("active"); | |
$(".main-slides").removeClass("active"); | |
$("#main_" + this.id).addClass("active"); |
require 'date' | |
require 'koala' | |
class BirthdayLiker | |
FACEBOOK_TOKEN = 'your_oauth_key' | |
BIRTHDAY_WORDS = %w(birthday bday birfday birth born) | |
THANKS_OPTIONS = ['Thank you!', 'Thanks!', 'Appreciate it!'] | |
DATE_TIME_FORMAT = '%Y-%m-%d' | |
def initialize(birthdate, opts={}) |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Example</title> | |
</head> | |
<body> | |
<div id="site-wrapper"> |
Disclaimer: This is an unofficial post by a random person from the community. I am not an official representative of io.js. Want to ask a question? open an issue on the node-forward
discussions repo
Currently considering https://github.com/webdriverio/webdrivercss
Core Goals: