Skip to content

Instantly share code, notes, and snippets.

View TareqElMasriDev's full-sized avatar

Tareq El-Masri TareqElMasriDev

View GitHub Profile
07-28 22:46:55.205 INFO [BackgroundGeolocation <init>]
╔═════════════════════════════════════════════
║ BackgroundGeolocation adapter
╠═════════════════════════════════════════════
07-28 22:46:55.260 DEBUG [a onCreate] CREATE TABLE IF NOT EXISTS locations (id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL DEFAULT '', timestamp TEXT, json TEXT, locked BOOLEAN);
07-28 22:46:55.270 DEBUG [a onCreate] CREATE TABLE IF NOT EXISTS geofences (id INTEGER PRIMARY KEY AUTOINCREMENT, identifier TEXT NOT NULL UNIQUE, latitude DOUBLE NOT NULL, sin_latitude DOUBLE NOT NULL, cos_latitude DOUBLE NOT NULL, longitude DOUBLE NOT NULL, sin_longitude DOUBLE NOT NULL, cos_longitude DOUBLE NOT NULL, radius DOUBLE NOT NULL, notifyOnEntry BOOLEAN NOT NULL DEFAULT 0, notifyOnExit BOOLEAN NOT NULL DEFAULT 0, notifyOnDwell BOOLEAN NOT NULL DEFAULT 0, loiteringDelay INTEGER NOT NULL DEFAULT 0, extras TEXT);
07-28 22:46:55.292 DEBUG [SQLiteLocationDAO dbh]
✅ Opened database
07-28 22:46:55.304 DEBUG [SQLiteLocationDAO prune]
JS: 07-27 15:07:47.808 INFO [BackgroundGeolocation <init>]
JS: ╔═════════════════════════════════════════════
JS: ║ BackgroundGeolocation adapter
JS: ╠═════════════════════════════════════════════
JS:
JS: 07-27 15:07:47.866 DEBUG [a onCreate] CREATE TABLE IF NOT EXISTS locations (id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL DEFAULT '', timestamp TEXT, json TEXT, locked BOOLEAN);
JS: 07-27 15:07:47.888 DEBUG [a onCreate] CREATE TABLE IF NOT EXISTS geofences (id INTEGER PRIMARY KEY AUTOINCREMENT, identifier TEXT NOT NULL UNIQUE, latitude DOUBLE NOT NULL, sin_latitude DOUBLE NOT NULL, cos_latitude DOUBLE NOT NULL, longitude DOUBLE NOT NULL, sin_longitude DOUBLE NOT NULL, cos_longitude DOUBLE NOT NULL, radius DOUBLE NOT NULL, notifyOnEntry BOOLEAN NOT NULL DEFAULT 0, notifyOnExit BOOLEAN NOT NULL DEFAULT 0, notifyOnDwell BOOLEAN NOT NULL DEFAULT 0, loiteringDelay INTEGER NOT NULL DEFAULT 0, extras TEXT);
JS: 07-27 15:07:47.916 DEBUG [SQLiteLocationDAO dbh]
JS: ✅ Opened database
JS: 07-27 15:07:47.9
JS: "desiredOdometerAccuracy": 100,
JS: "locationUpdateInterval": 1000,
JS: "fastestLocationUpdateInterval": 10000,
JS: "locationTimeout": 60,
JS: "deferTime": 0,
JS: "disableElasticity": false,
JS: "activityRecognitionInterval": 10,
JS: "minimumActivityRecognitionConfidence": 75,
JS: "triggerA
JS: ],
@TareqElMasriDev
TareqElMasriDev / firefox.desktop
Created March 31, 2017 12:58
Firefox Developer Edition Linux Desktop Entry
[Desktop Entry]
Name=Firefox Developer
GenericName=Firefox Developer Edition
Exec=/opt/firefox/firefox %U
Terminal=false
Icon=/opt/firefox/browser/icons/mozicon128.png
Type=Application
Categories=Application;Network;Developer;
Comment=Firefox Developer Edition Web Browser.
@TareqElMasriDev
TareqElMasriDev / bundles.txt
Created March 9, 2017 14:48
ZSH Antibody bundles
# this block is in alphabetic order
caarlos0/git-add-remote kind:path
caarlos0/jvm
caarlos0/ports kind:path
caarlos0/zsh-git-fetch-merge kind:path
caarlos0/zsh-git-sync kind:path
caarlos0/zsh-mkc
caarlos0/zsh-open-pr kind:path
mafredri/zsh-async
Tarrasch/zsh-bd
@TareqElMasriDev
TareqElMasriDev / webpack.js
Created February 2, 2017 09:51
Webpack Configurations
const path = require('path')
const webpack = require('webpack')
const autoprefixer = require('autoprefixer')
const ExtractTextPlugin = require('extract-text-webpack-plugin')
const CleanWebpackPlugin = require('clean-webpack-plugin')
const BrowserSyncPlugin = require('browser-sync-webpack-plugin')
const ModernizrPlugin = require('modernizr-webpack-plugin')
const production = process.argv.indexOf("--production") > -1
@TareqElMasriDev
TareqElMasriDev / .zshrc
Last active December 19, 2016 14:55
ZSH Configurations
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/tareq/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="bullet-train"
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<true/>
<key>AlternateMouseScroll</key>
<true/>
@TareqElMasriDev
TareqElMasriDev / mongoexport.sh
Created December 9, 2016 11:53
Script for exporting mongo database dumb
LOADING=false
usage()
{
cat << EOF
usage: $0 [options] dbname
OPTIONS:
-h Show this help.
-l Load instead of export
Remote-FTP@0.8.3
an-color-picker@1.0.2
angular-2-typeScript-snippets@0.4.6
angular2-snippets@0.3.0
ask-stack@2.2.0
atom-angular-material-snippets@1.2.0
atom-angular-snippets@1.0.0
atom-beautify@0.29.10
atom-csscomb@1.10.0
atom-htmltidy@5.1.0