- Use an iPod or an iPad without a SIM card
- Use an iPhone
- Do not jailbreak
- Always upgrade to new iOS versions
- Use Brave browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!groovy | |
| # Best of Jenkinsfile | |
| # `Jenkinsfile` is a groovy script DSL for defining CI/CD workflows for Jenkins | |
| node { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| rm -rf "/Applications/Adobe*" | |
| rm -rf "~/Library/Application Support/Adobe/" | |
| rm -rf "~/Library/Caches/Adobe*/" | |
| sudo rm -rf "/Applications/Utilities/Adobe*" | |
| sudo rm -rf "/Library/Application Support/Adobe/" | |
| sudo rm -rf "/Users/Shared/Adobe/" |
Please see other gists for updated information. https://gist.github.com/XenoPanther/15d8fad49fbd51c6bd946f2974084ef8
| title | slug | createdAt | language | preview |
|---|---|---|---|---|
Unit testing Angular.js app with node.js, mocha, angular-mocks and jsdom |
unit-testing-angular-js-app-with-node |
2015-07-05T18:04:33Z |
en |
Majority of search result about unit testing Angular.js apps is about how to do it by using test frameworks that run the tests in a real browser. Even though it's great to be able to test your code in multiple platforms, in my opinion it creates a lot of boilerplate code and makes it hard to run the tests in, for instance a CI-server. |
Lean unit tests with minimal setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import time | |
| import atomac | |
| import subprocess | |
| if len(sys.argv) < 2: | |
| print "Usage: bouncer.py <path_to_logic_project> (<path_to_logic_project>)" | |
| os.exit(1) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import os, os.path | |
| import zipfile | |
| import io | |
| def readui32(file): | |
| bytes = file.read(4) | |
| number = bytes[0] | |
| number += bytes[1] << 8 | |
| number += bytes[2] << 16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |=-----------------------------------------------------------------------=| | |
| |=----------------------------=[ BootChess ]=----------------------------=| | |
| |=-----------------------------------------------------------------------=| | |
| |=------------------------=[ by Baudsurfer/rsi ]=------------------------=| | |
| |=-----------------------------------------------------------------------=| | |
| 1 - Introduction | |
| 1.1 - Why make tiny programs ? | |
| 1.2 - Proving know-how remains valued |