Download Minecraft assets and store them as a resource pack for personal usage.
After the code below (which you definitely don't need to read yourself), I've written a guide on how to use this, plus some troubleshooting tips!
Download Minecraft assets and store them as a resource pack for personal usage.
After the code below (which you definitely don't need to read yourself), I've written a guide on how to use this, plus some troubleshooting tips!
language: node_js | |
node_js: | |
- "6" | |
script: | |
- npm run lint | |
- npm run build | |
- npm test |
""" | |
Exports issues from a list of repositories to individual csv files. | |
Uses basic authentication (Github username + password) to retrieve issues | |
from a repository that username has access to. Supports Github API v3. | |
Forked from: unbracketed/export_repo_issues_to_csv.py | |
""" | |
import argparse | |
import csv | |
from getpass import getpass | |
import requests |
@echo off | |
REM !/bin/sh | |
REM License for any modification to the original (linked below): | |
REM ---------------------------------------------------------------------------- | |
REM "THE BEER-WARE LICENSE" (Revision 42): | |
REM Sebastiano Poggi wrote this file. As long as you retain this notice you | |
REM can do whatever you want with this stuff. If we meet some day, and you think | |
REM this stuff is worth it, you can buy me a beer in return. | |
REM ---------------------------------------------------------------------------- | |
REM |
// Copyright 2016 Jeremie Miserez <[email protected]> | |
// | |
// MIT License | |
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF O |
While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.
Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.
lib/
is intended for code that can run as-issrc/
is intended for code that needs to be manipulated before it can be usedimport 'dart:convert'; | |
import 'dart:html'; | |
import 'dart:math'; | |
import 'dart:svg' as svg; | |
main() { | |
HttpRequest.getString('svg-datas.json').then(JSON.decode).then(calculateGravity); | |
} | |
calculateGravity(Map<String, Map> paths) { |
alias ng="npm list -g --depth=0 2>/dev/null" | |
alias nl="npm list --depth=0 2>/dev/null" |
class Clipboard | |
CopyPaste = Struct.new :copy, :paste | |
def initialize | |
cmds = [['pbcopy', 'pbpaste'], | |
['xclip', 'xclip -o'], | |
['xsel', 'xsel -o']] | |
cmds.map! do |cmd| | |
CopyPaste.new cmd.first, cmd.last |