This file was generated automatically based on this two sources:
- /etc/nginx/mime.types
- http://www.garykessler.net/library/file_sigs.html
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
| import httpclient, marshal, json | |
| type | |
| User* = ref object | |
| login*: string | |
| id*: int | |
| avatar_url*: string | |
| gravatar_id*: string | |
| url*: string | |
| html_url*: string |
This file was generated automatically based on this two sources:
This is a JSON object by following structure:
[string ext] : {
signs: [sign]
| using GLib; | |
| public class TestClass : GLib.Object { | |
| public string test1 {get;set;default = "test1";} | |
| //Ths one won't emit on assignment | |
| [CCode (notify = false)] | |
| public string test2 {get;set;default = "test2";} | |
| public static void main (string[] args) { | |
| var test = new TestClass (); |
Debugging an Amber project on VSCode with GDB and Native Debug.
| import 'package:flutter/material.dart'; | |
| import 'theme.dart' as Theme; | |
| void main() { | |
| runApp( | |
| new MaterialApp( | |
| title: 'CompanyApp', | |
| color: Theme.CompanyColors.blue[500], | |
| theme: Theme.CompanyThemeData, | |
| home: new Scaffold( |
| "gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory" CentOS's and Fedora +22 workaround | |
| Install `redhat-rpm-config` | |
| $ sudo dnf install redhat-rpm-config |
| " ---------------------------------------------------------------------------- | |
| " vimawesome.com | |
| " ---------------------------------------------------------------------------- | |
| function! VimAwesomeComplete() abort | |
| let prefix = matchstr(strpart(getline('.'), 0, col('.') - 1), '[.a-zA-Z0-9_/-]*$') | |
| echohl WarningMsg | |
| echo 'Downloading plugin list from VimAwesome' | |
| echohl None | |
| ruby << EOF | |
| require 'json' |
| #!/usr/bin/env bash | |
| # awmtt: awesomewm testing tool | |
| #{{{ Usage | |
| usage() { | |
| cat <<EOF | |
| awmtt [ start | stop | restart | -h | -e | -t [ get | change | list | random ] ] [ -C /path/to/rc.lua ] [ -D display ] [ -S windowsize ] | |
| start Spawn nested Awesome via Xephyr | |
| stop Stops Xephyr |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: