$ uname -r
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
| {0: 'tench, Tinca tinca', | |
| 1: 'goldfish, Carassius auratus', | |
| 2: 'great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias', | |
| 3: 'tiger shark, Galeocerdo cuvieri', | |
| 4: 'hammerhead, hammerhead shark', | |
| 5: 'electric ray, crampfish, numbfish, torpedo', | |
| 6: 'stingray', | |
| 7: 'cock', | |
| 8: 'hen', | |
| 9: 'ostrich, Struthio camelus', |
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
| #!/usr/bin/env fontforge -lang=py -script | |
| # -*- coding: utf-8 -*- | |
| import fontforge | |
| import sys | |
| import os | |
| def _select_codepoint(codepoint, selection, more=True): | |
| more_str = 'more' if more else 'less' | |
| if isinstance(codepoint, tuple) and len(codepoint) == 2: |
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
| quartz { | |
| autoStartup = true | |
| jdbcStore = true | |
| waitForJobsToCompleteOnShutdown = true | |
| // Allows monitoring in Java Melody (if you have the java melody plugin installed in your grails app) | |
| exposeSchedulerInRepository = true | |
| scheduler { | |
| instanceName = 'my_quartz' | |
| instanceId = 'AUTO' |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
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
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| % Matlab code to produce PCA animations shown here: | |
| % http://stats.stackexchange.com/questions/2691 | |
| %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
| % Static image | |
| clear all | |
| rng(42) |
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
| -- This is the DDL required to persist Quartz jobs to the database | |
| -- Drop tables if necessary | |
| DROP TABLE IF EXISTS QRTZ_FIRED_TRIGGERS; | |
| DROP TABLE IF EXISTS QRTZ_PAUSED_TRIGGER_GRPS; | |
| DROP TABLE IF EXISTS QRTZ_SCHEDULER_STATE; | |
| DROP TABLE IF EXISTS QRTZ_LOCKS; | |
| DROP TABLE IF EXISTS QRTZ_SIMPLE_TRIGGERS; | |
| DROP TABLE IF EXISTS QRTZ_SIMPROP_TRIGGERS; | |
| DROP TABLE IF EXISTS QRTZ_CRON_TRIGGERS; |
Using the REST API to upload a file to WordPress is
quite simple. All you need is to send the file in a
POST-Request to the wp/v2/media route.
There are two ways of sending a file. The first method simply sends the file in the body of the request. The following PHP script shows the basic principle:
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
-
List All System Images Available for Download:
sdkmanager --list | grep system-images -
Download Image:
sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
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
| # Open font in [fontforge](https://fontforge.github.io/en-US/) (FontAwesome's [fa-solid-900.woff](https://github.com/FortAwesome/Font-Awesome/blob/master/webfonts/fa-solid-900.woff) in my case) | |
| # So you can see what you're doing: Menu > Encoding > Compact | |
| # ctrl+a to select all glyphs | |
| # ctrl+. should open Execute Script | |
| # Ensure desiredGlyphNames includes all glyphs used in app | |
| desiredGlyphNames = ["caret-down", "caret-up", "chart-bar", "check", "chevron-down", "clipboard-list", "comments", "expand", "filter", "flask", "images", "info-circle", "layer-group", "redo", "ruler", "ruler-horizontal", "ruler-vertical", "sort-amount-down", "star", "table", "tag", "users", "video"] | |
| font = fontforge.activeFont() |