Testing subscript and superscript
Testing subscript subscript level 2
Testing superscript superscript level 2
#!/usr/bin/env python3 | |
# Distributed under the MIT software license | |
import binascii, struct, sys | |
from PIL import Image | |
def div_roundup(x,y): | |
return (x+y-1)//y | |
f = open(sys.argv[1], 'r') | |
outfilename = sys.argv[2] |
// -> Soldity | |
// ********** | |
// Your Soldity contract | |
event Created(bytes32 indexed identifier); | |
contract MyContract { | |
function MyContract(bytes32 identifier) { | |
Created(identifier); | |
} |
Testing subscript and superscript
Testing subscript subscript level 2
Testing superscript superscript level 2
using System; | |
using System.Collections.Generic; | |
using BenchmarkDotNet.Attributes; | |
using BenchmarkDotNet.Attributes.Jobs; | |
namespace ForEachVsAddRange | |
{ | |
[MemoryDiagnoser] | |
public class Benchmark | |
{ |
Src Reference: http://bernaerts.dyndns.org/download/ubuntu/install-mozilla-addon Article: http://bernaerts.dyndns.org/linux/74-ubuntu/271-ubuntu-firefox-thunderbird-addon-commandline
sudo apt-get install xvfb
sudo Xvfb :99.0 -ac
export DISPLAY=:99.0
using System; | |
using System.Net.Http; | |
using System.Net.Http.Formatting; | |
using System.Threading.Tasks; | |
namespace MyProject.Extensions | |
{ | |
public static class HttpClientEx | |
{ | |
public const string MimeJson = "application/json"; |
// Async/Await requirements: Latest Chrome/FF browser or Babel: https://babeljs.io/docs/plugins/transform-async-to-generator/ | |
// Fetch requirements: Latest Chrome/FF browser or Github fetch polyfill: https://github.com/github/fetch | |
// async function | |
async function fetchAsync () { | |
// await response of fetch call | |
let response = await fetch('https://api.github.com'); | |
// only proceed once promise is resolved | |
let data = await response.json(); | |
// only proceed once second promise is resolved |
import { GraphQLSchema, GraphQLObjectType } from 'graphql'; | |
import { nodeField, nodesField } from './types/Node'; | |
import StoryType from './types/StoryType'; | |
import UserType from './types/UserType'; | |
import StoryMutations from './mutations/StoryMutations'; | |
import CommentMutations from './mutations/CommentMutations'; | |
export default new GraphQLSchema({ | |
query: new GraphQLObjectType({ |