create an empty project and add a Gemfile
cd ~/Desktop
mkdir project-name
cd project-name
touch Gemfile| // | |
| // Figma project stats | |
| // Pulls statistics like number of files, frames, versions etc for a project. | |
| // | |
| // Usage: | |
| // export FIGMA_API_ACCESS_TOKEN='your-token' | |
| // node figma-project-stats.js <project-id> | |
| // | |
| // You can generate tokens in your account settings or at | |
| // https://www.figma.com/developers/explorer#personal-access-token |
| https://statici.icloud.com/fmipmobile/deviceImages-9.0/iPhone/iPhone9,4-2-3-0/online-infobox__3x.png | |
| A B C D E F G | |
| A: deviceImages version seems to determine the format of the image specifier (C, D, E, F) | |
| B: device marketing name | |
| C: device model identifier | |
| D: color cover glass (front color) | |
| 1 - Black | |
| 2 - White | |
| E: device enclosure color (back color) |
| const fib = (n, seq = [0, 1]) => | |
| n - 2 ? fib(n - 1, [...seq, seq.slice(-2).reduce((a, b) => a + b)]) : seq; | |
| fib(10); // 0, 1, 1, 2, 3, 5, 8, 13, 21, 34 |
| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| #reid p { | |
| font-size: 64px; | |
| color:white; | |
| display:table-cell; | |
| vertical-align:middle; | |
| width:100%; |
| function word(){ | |
| $("#input").val($("#currentword").html()); | |
| $('#input').trigger(jQuery.Event('keyup', {which: 13})); | |
| setTimeout(function () { | |
| word(); | |
| }, 1); | |
| } | |
| word(); |
Hi Nicholas,
I saw you tweet about JSX yesterday. It seemed like the discussion devolved pretty quickly but I wanted to share our experience over the last year. I understand your concerns. I've made similar remarks about JSX. When we started using it Planning Center, I led the charge to write React without it. I don't imagine I'd have much to say that you haven't considered but, if it's helpful, here's a pattern that changed my opinion:
The idea that "React is the V in MVC" is disingenuous. It's a good pitch but, for many of us, it feels like in invitation to repeat our history of coupled views. In practice, React is the V and the C. Dan Abramov describes the division as Smart and Dumb Components. At our office, we call them stateless and container components (view-controllers if we're Flux). The idea is pretty simple: components can't
| [ | |
| { | |
| "timestamp": 0, | |
| "input": "W", | |
| "type": "search_local", | |
| "latency": 0 | |
| }, | |
| { | |
| "local_results": [ | |
| "ddg_search", |
By @foldleft.bsky.social, see also Unfollow everyone on bsky.app.
https://twitter.com/YOUR_USER_NAME/following// Unfollow everyone on twitter.com, by Jamie Mason (https://twitter.com/fold_left)| #!/usr/bin/env ruby | |
| require 'openssl' | |
| data = File.open('blob', 'r:ASCII-8BIT').read | |
| c = OpenSSL::Cipher.new('AES-128-ECB') | |
| c.decrypt | |
| c.key = 'M02cnQ51Ji97vwT4' | |
| o = ''.force_encoding('ASCII-8BIT') | |
| data.bytes.each_slice(16) { |s| o += c.update(s.map(&:chr).join) } |