I hereby claim:
- I am forabi on github.
- I am forabi (https://keybase.io/forabi) on keybase.
- I have a public key ASDGvN6idKxnfVCTRh4nPxlJTKJUBPQkv1z4VUa44CNdkgo
To claim this, I am signing this object:
| ❯ rollup --version | |
| rollup version 0.25.3 | |
| ❯ time rollup -c ./rollup.js | |
| rollup -c ./rollup.js 4.65s user 0.22s system 118% cpu 4.131 total | |
| ❯ time webpack | |
| Hash: ebb00bbccd954c114d3c | |
| Version: webpack 2.0.7-beta | |
| Time: 3623ms |
| // src/store/reducers/workspace/canvas.ts | |
| import { handleActions } from 'utils/store'; | |
| /// ... |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| num_pages=0; | |
| for file in *.pdf; do | |
| f_pages=$(pdfinfo "$file" 2>/dev/null | grep Pages | cut -d ":" -f 2 | sed -e 's/^[ \t]*//') | |
| if [[ -z $f_pages ]]; then | |
| echo "Error in $file" && exit 1; | |
| fi | |
| num_pages=$(( num_pages + $f_pages )) | |
| done | |
| echo $num_pages; |
| import java.io.*; | |
| import java.util.*; | |
| import javax.comm.*; | |
| public class SimpleWrite { | |
| static Enumeration portList; | |
| static CommPortIdentifier portId; | |
| static String messageString = "Hello, world!\n"; // الجملة يلي بدنا نكتبها ع المنفذ | |
| static SerialPort serialPort; | |
| static OutputStream outputStream; |
| import java.io.*; | |
| import java.util.*; | |
| import javax.comm.*; | |
| /* الكلاس بتعتمد واجهة Runnable مشان نقدر نشغلها بـThread لحالها> | |
| / SerialPortEventListener على ما يبدو جاية من حزمة javax.comm | |
| / بتخلينا نستمع لأي تغيرات على منفذ تسلسلي، | |
| / يعني لما بصير أي شي على المنفذ، فينا نعمل أي شي، | |
| / هي بس شغلتا تخبرنا شو صار. */ | |
| public class SimpleRead implements Runnable, SerialPortEventListener { |
| // ==UserScript== | |
| // @name Auto-RTL | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Fixes layout direction (RTL/LTR) for text on various websites | |
| // @author You | |
| // @match https://gitlab.com/* | |
| // @match https://github.com/* | |
| // @match http*://getpocket.com/beta/read/* | |
| // @match http*://getpocket.com/read/* |
| var fs = require('fs'); | |
| var path = require('path'); | |
| fs.readdir(process.cwd(), function(err, files){ | |
| var newNames = {}; | |
| files.forEach(function(file){ | |
| console.log(file); | |
| if (file.match(/.+.txt/i)){ | |
| console.log('Found text file', file); | |
| fs.readFile(path.join(process.cwd(), file), 'utf8', function(err, data){ | |
| newNames[file] = []; |
| { | |
| "locale": "ar", | |
| "text": { | |
| "#authors": [ | |
| { | |
| "name": "Muhammad Fawwaz Orabi", | |
| "screen-name": "forabi" | |
| } | |
| ], | |
| "tweet": { |
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <!-- $XDG_CONFIG_HOME/fontconfig/fonts.conf for per-user font configuration --> | |
| <fontconfig> | |
| <match> | |
| <test name="lang" compare="contains"> | |
| <string>ar</string> | |
| </test> | |
| <test name="family" compare="not_eq"> | |
| <string>monospace</string> |