Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
- Module support
- DOM manipulation
- Animations
- Templating
Author: Ari Lerner.
AngularJS offers a single framework that can be used to build dynamic, client-centric applications. It provides:
| # Set up some logging. VERY useful to see why things aren't working. | |
| logger_syslog=-1 | |
| logger_syslog_level=2 | |
| logger_stdout=-1 | |
| logger_stdout_level=2 | |
| # Which interface to use and which bridge to join | |
| interface=wlan0 | |
| bridge=br0 |
| Puts on glasses: | |
| (•_•) | |
| ( •_•)>⌐■-■ | |
| (⌐■_■) | |
| Takes off glasses ("mother of god..."): | |
| (⌐■_■) | |
| ( •_•)>⌐■-■ |
| ##### hostapd configuration file ############################################## | |
| # Empty lines and lines starting with # are ignored | |
| # AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for | |
| # management frames with the Host AP driver); wlan0 with many nl80211 drivers | |
| interface=wlan0 | |
| # In case of atheros and nl80211 driver interfaces, an additional | |
| # configuration parameter, bridge, may be used to notify hostapd if the | |
| # interface is included in a bridge. This parameter is not used with Host AP |
| This page updated : 2016-12-10 21:40 | |
| Google Chrome Portable | |
| reference: | |
| Download Google Chrome Portable | |
| http://portableapps.com/apps/internet/google_chrome_portable | |
| Google Chrome (for Windows) |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
| // 1. Open the browser developper console on the network tab | |
| // 2. Start the video | |
| // 3. In the dev tab, locate the load of the "master.json" file, copy its full URL | |
| // 4. Run: node vimeo-downloader.js "<URL>" | |
| // 5. Combine the m4v and m4a files with mkvmerge | |
| const fs = require('fs'); | |
| const url = require('url'); | |
| const https = require('https'); |
The Digilent JTag uses FT2232, but its configuration EEPROM contains secrete data needed to be recoginzed by Xilinx ISE/Vivado. The following method only works on linux (tested on Ubuntu16.04), but the patched FT2232 doggle also works on Windows. Since WSL1 does not provide USB device access, the following method will not work for WSL1.
DONT use FT_Prog on offical Digilent cable, as it can trash the firmware! The offical eeprom contains secrete data that cannot be handled correctly by FT_Prog.
Here are steps to create a Digilent-like Jtag that can be used in Xilinx ISE and Vivado
sudo apt-get install libftdi1 ftdi-eeprom| function Get-Md5Crypt { | |
| <# | |
| .DESCRIPTION | |
| Generate a md5crypt string ($1$salt$hash) | |
| .PARAMETER String | |
| The string to hash | |
| .PARAMETER Salt | |
| The salt to use (can be a crypt string) | |
| .PARAMETER SaltSize | |
| In case no salt is provided generate one with length SaltSize (default: 10) |
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.