This file contains 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
# | |
# Proportional | |
# | |
[buildPlans.iosevka-custom-proportional] | |
family = "Iosevka Custom Proportional" | |
slopes = { upright = "normal", italic = "italic" } | |
widths = { normal = { css = "normal", menu = 5, shape = 500 } } | |
ligations = { inherits = "jspt" } | |
quasiProportionalDiversity = 1 |
This file contains 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
graph { | |
nodesep = 0.2; ranksep = 0.2; | |
water [shape=plain, group=a]; | |
reservoir [shape=oval, group=a]; | |
split_a [shape=point, group=a]; | |
filter_a [shape=box, label="filter", group=a]; | |
pump [shape=box, group=a]; | |
one_way [shape=diamond, group=a, label="one way", margin=0]; | |
split_b [shape=point, group=a]; |
This file contains 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
// Given a selection of buildings, select redundant (i.e. collinear, non-tagged, | |
// non-glued) nodes. | |
// | |
// Dependencies: | |
// | |
// - [JOSM Scripting Plugin](https://gubaer.github.io/josm-scripting-plugin/) | |
// | |
// Usage: | |
// | |
// 1. Select some buildings for analysis, e.g. via Search → `new building`. |
This file contains 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/bash | |
# Applies the Monokai color scheme to the current terminal session. | |
declare -A map0 | |
map0=( [foreground ]='#F8F8F2' [background ]='#272822' | |
[cursor ]='#F8F8F0' [selection ]='#49483E' | |
[pink ]='#F92672' [green ]='#A6E22E' | |
[yellow ]='#E6DB74' [blue ]='#66D9EF' | |
[purple ]='#AE81FF' [orange ]='#FD971F' | |
[gray ]='#75715E' ) |
This file contains 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
diff --git a/src/com/android/settings/ChooseLockGeneric.java b/src/com/android/settings/ChooseLockGeneric.java | |
index f67213c..e015024 100644 | |
--- a/src/com/android/settings/ChooseLockGeneric.java | |
+++ b/src/com/android/settings/ChooseLockGeneric.java | |
@@ -246,7 +246,8 @@ public class ChooseLockGeneric extends PreferenceActivity { | |
int encryptionStatus = mDPM.getStorageEncryptionStatus(); | |
boolean encrypted = (encryptionStatus == DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE) | |
|| (encryptionStatus == DevicePolicyManager.ENCRYPTION_STATUS_ACTIVATING); | |
- if (encrypted) { | |
+ LockPatternUtils lockPatternUtils = new LockPatternUtils(getActivity()); |
This file contains 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
// ==UserScript== | |
// @name Use epost™ without proprietary software. | |
// @namespace https://Andrew.Kvalhe.im/ | |
// @version 0.1.0 | |
// @description Override the "Adobe Reader Required" message in Canada Post's epost™ service. | |
// @match https://express.epost.ca/edms/en/pdfPlugin.html* | |
// @grant none | |
// ==/UserScript== | |
window.overRide(); |
Ubuntu 13.04 has reached [end-of-life (EOL)][eol], so software updates to it are no longer available. It will continue to check for software updates, however, and fail with error messages such as:
Failed to download repository information.
and:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources 404 Not Found
This file contains 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
/ Documentation: http://www.sitemaps.org/protocol.html | |
doctype xml | |
urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' | |
- pages.each do |page| | |
url | |
loc = page.absolute_url | |
lastmod = page.mtime.iso8601 | |
changefreq = page.data.changefreq || 'weekly' |