Skip to content

Instantly share code, notes, and snippets.

🎯
Learning how to play~

Rivsen Tan Rivsen

🎯
Learning how to play~
Block or report user

Report or block Rivsen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View play.rs
use std::iter::FromIterator;
fn main() {
let columns_number: i64 = 356;
println!("Number of columns_number: {}", columns_number);
let mut columns_array: Vec<String> = Vec::new();
let mut last_column: Vec<char> = Vec::new();
@Rivsen
Rivsen / routes.php
Created Sep 22, 2015
a php internat server route file for flarum
View routes.php
<?php
// Set timezone
// date_default_timezone_set("UTC");
// Directory that contains error pages
define("ERRORS", dirname(__FILE__) . "/flarum/error");
// Default index files
define("WEB_INDEX", "index.php");
define("API_INDEX", "api.php");
@Rivsen
Rivsen / .gitignore
Last active Sep 13, 2016
使用Symfony2的EventDispatcher组件创建自定义Event逻辑
View .gitignore
composer.lock
vendor/
*.bak
*.swp
*.swap
*.old
*.back
.DS_Store
View Switch_Node.php
<?php
//To be added under Twig/Node/Switch.php
/*
* This file is part of Twig.
*
* (c) 2009 Fabien Potencier
* (c) 2009 Armin Ronacher
*
View openstack-fedora19.md

OpenStack

In this document I describe the steps to setup OpenStack cloud on Fedora 19

Setup

First, install OpenStack on Fedora 19

RDO Quick Start -

You can’t perform that action at this time.