Skip to content

Instantly share code, notes, and snippets.

View nuclearsandwich's full-sized avatar

Steven! Ragnarök nuclearsandwich

View GitHub Profile
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
import argparse
import datetime
from github import Github, GithubException, GithubObject
github_api_url = 'https://api.github.com'
# label_dict: name, color
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:
repositories:
ament/ament_cmake:
type: git
url: https://github.com/ament/ament_cmake.git
version: master
ament/ament_index:
type: git
url: https://github.com/ament/ament_index.git
version: master
ament/ament_lint:

####API 接口文档

字段 类型 是否必须 说明
userName string true 用户名
password string true 密码

[ ] a [x] b

  • c
  • d

If user is careless, forgetting to put "- " before "[ ]", TODO list could get buggy.

Steps to reproduce bug:

  • on parsed MD page of list above, tick "c" to note that "c" is done.
  • Now, edit the file.

[x] a [ ] b

  • c
  • d

If user is careless, forgetting to put "- " before "[ ]", TODO list could get buggy.

Steps to reproduce bug:

  • on parsed MD page of list above, tick "c" to note that "c" is done.
  • Now, edit the file.
<h2 class="section-title">Colours</h2>
<!-- Add your own colour swatches down here! -->
<ul class="colours">
<li>
<!-- We put our style just in line here -->
<span class="swatch" style="background: #85D4E3;"></span>
<!-- Here just a description and the hex code again (for copy/pasting in a pinch) -->
<p class="label">blue | #85D4E3</p>
</li>
<?php
define('AWS_KEY','YOUR_AWS_KEY_HERE');
define('AWS_SECRET','YOUR_AWS_SECRET_HERE');
require_once('AWSSDKforPHP/sdk.class.php');
require_once('AWSSDKforPHP/extensions/s3streamwrapper.class.php');
$s3 = new AmazonS3(array(
'key' => AWS_KEY,
'secret' => AWS_SECRET,
@nuclearsandwich
nuclearsandwich / cliptext.rb
Last active December 10, 2015 02:58 — forked from noahcoad/cliptext.rb
change tabs to two spaces. part deux
#!/usr/bin/env ruby
# Places the clipboard contents into a new temp text
# file and opens the text file in the default text editor
require 'ftools'
# find an unused file name
a = 1
folder = File.expand_path "~/Documents/texts/temp"