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
#!/usr/bin/env ruby | |
# Beta 1 | |
# This script is wget wrapper to automate downloading | |
# all images in a 4chan thread | |
# Only tested and work on linux (since it using its wget) | |
# Requirements: | |
# Nokogiri gem installed |
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> | |
<title></title> | |
<style type="text/css"> | |
</style> | |
</head> | |
<body> | |
<div class="colmenu"> | |
<nav> |
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
!!! 5 | |
%html | |
%head | |
%title Judul Halaman | |
%link{:rel => 'stylesheet', :href => 'style.css'} | |
%body | |
%h1 Heading 1 | |
%p | |
Ini adalah paragraf |
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
# In new Twitter Omniauth, you may encounter errors, first, please check the Omniauth env | |
auth = request.env["rack.auth"] #this is incorrect | |
auth = request.env["omniauth.auth"] #this is correct | |
# Another error I found is: 401 Unauthorized | |
# which is can be fixed in ROOT/config/initializer/omniauth.rb | |
# This is incorrect |
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
<?php | |
#seeding data | |
namespace Fuel\Tasks; | |
class Seed | |
{ | |
public static function run() | |
{ | |
$projects = array("Example Project Title"=>"Example Project description that descripting nothing...", |