Some of the features mentioned in this document only work on the beta or Dev channel. To change your channel:
- chrome://help in a browser window
- Click Detailed Build Information
- Change Channel
- Select Beta (Or Dev, if you're feeling adventurous)
| inkscape=/Applications/Inkscape.app/Contents/MacOS/inkscape | |
| insvg=burpicon.svg | |
| output=burp | |
| outdir=${output}.iconset | |
| mkdir $outdir | |
| for sz in 16 32 128 256 512 | |
| do | |
| echo "[+] Generete ${sz}x${sz} png..." | |
| $inkscape --without-gui --export-file ${outdir}/icon_${sz}x${sz}.png -w $sz -h $sz $insvg |
| /* | |
| * (*outer|center|inner) | |
| */ | |
| [inner ], [inner ] * { outline-offset: -0.3750rem !important; } | |
| [center], [center] * { outline-offset: -0.1875rem !important; } | |
| [outer ], [outer ] * { outline-offset: 0.0000rem !important; } | |
| /* | |
| * debug:(*|outline|\*) | |
| */ |
Version 4.20 of Unreal Engine does not generate includes for *.generated.h files. To fix this, you must modify your c_cpp_properties.json.
UNREAL_ENGINE pointing to the Unreal Engine folder (UE_4.20 for example) with no trailing backslash.c_cpp_propeties.json with the one below.Visual Studio Code seems to not understand Include-What-You-Use style headers. To fix this, replace #include "CoreMinimal.h" and any other Unreal system includes with #include "Engine.h". This should fix Intellisense errors, at the cost of some initial compile time.
This gist has two files in it: first-names.txt and last-names.txt, each with 4096 names taken from some unnamed database.
Useful for generating mock data for testing or for opfuscating production data for testing.
See https://stackoverflow.com/a/50242368/15109 for some thoughts about data obfuscation.
This is not an exhaustive list of all interfaces in Go's standard library.
I only list those I think are important.
Interfaces defined in frequently used packages (like io, fmt) are included.
Interfaces that have significant importance are also included.
All of the following information is based on go version go1.8.3 darwin/amd64.
| // DeleteThing attempts to delete a thing. It will try a maximum of three times. | |
| func DeleteThing(id string) error { | |
| // Build the request | |
| req, err := http.NewRequest( | |
| "DELETE", | |
| fmt.Sprintf("https://unreliable-api/things/%s", id), | |
| nil, | |
| ) | |
| if err != nil { | |
| return fmt.Errorf("unable to make request: %s", err) |
| version: '2' | |
| services: | |
| gitlab: | |
| container_name: gitlab | |
| image: gitlab/gitlab-ce:latest | |
| restart: always | |
| environment: | |
| GITLAB_OMNIBUS_CONFIG: | | |
| ## GitLab configuration settings | |
| ##! Check out the latest version of this file to know about the different |
| # Borrowed from: | |
| # https://github.com/silven/go-example/blob/master/Makefile | |
| # https://vic.demuzere.be/articles/golang-makefile-crosscompile/ | |
| BINARY = superdo | |
| VET_REPORT = vet.report | |
| TEST_REPORT = tests.xml | |
| GOARCH = amd64 | |
| VERSION?=? |