Skip to content

Instantly share code, notes, and snippets.

View abbood's full-sized avatar
💭
Leading Village.do tech team

Abdullah Bakhach abbood

💭
Leading Village.do tech team
View GitHub Profile
@abbood
abbood / .vimrc
Created November 10, 2017 07:51
abbood vimrc
syntax enable
colorscheme zenburn
set hlsearch
set ignorecase
hi Search cterm=NONE ctermfg=black ctermbg=172
set nocompatible " be iMproved, required
class BuyerController extends ApiController
{
/**
*
* @SWG\Get(
* path="/buyers",
* tags={"buyers"},
* summary="List All Buyers",
* description="",
* operationId="buyers.index",
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.1"
defaultConfig {
applicationId "com.toters.shopper"
minSdkVersion 15
targetSdkVersion 20
@abbood
abbood / .vimrc
Last active October 19, 2017 10:47
.vimrc
syntax enable
colorscheme zenburn
set hlsearch
set ignorecase
hi Search cterm=NONE ctermfg=grey ctermbg=yellow
set nocompatible " be iMproved, required
This file has been truncated, but you can view the full file.
9/21/2017 8:17:07 AM::: AIOC:: Get bot version: 1.4.0.20
9/21/2017 8:17:09 AM::: AIOC:: Monitor proxies was updated with 1 proxies for site Supreme
9/21/2017 8:17:09 AM::: AIOC:: Get bot version: 1.4.0.20
9/21/2017 8:17:11 AM::: AIOC:: Monitor proxies was updated with 1 proxies for site Supreme
9/21/2017 8:17:11 AM::: AIOC:: Get bot version: 1.4.0.20
9/21/2017 8:17:16 AM::: AIOC:: Monitor proxies was updated with 1 proxies for site Supreme
9/21/2017 8:17:16 AM::: AIOC:: Get bot version: 1.4.0.20
9/21/2017 8:17:18 AM::: AIOC:: Monitor proxies was updated with 1 proxies for site Supreme
9/21/2017 8:17:18 AM::: AIOC:: Get bot version: 1.4.0.20
@abbood
abbood / gist:cacd1fd8b485a8abc8c7d5d73f46e993
Created August 11, 2017 13:49
example of automating scripts on multiple tabs on iterm
tell application "iTerm"
tell current window
-- create a tab for background db stuff
create tab with default profile
tell current session
write text "mongod &"
write text "redis-server &"
end tell
close current tab
for i in src doc charsets; do\
(cd $i; /Applications/Xcode.app/Contents/Developer/usr/bin/make all);\
done
gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/local/share/catdoc\" -DSYSTEMRC=\"/usr/local/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o catdoc.o catdoc.c
gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/local/share/catdoc\" -DSYSTEMRC=\"/usr/local/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o reader.o reader.c
gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/local/share/catdoc\" -DSYSTEMRC=\"/usr/local/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o writer.o writer.c
gcc -I. -g -O2 -Wall -DHAVE_CONFIG_H -DCATDOC_VERSION=\"0.94.2\" -DCHARSETPATH=\"/usr/local/share/catdoc\" -DSYSTEMRC=\"/usr/local/etc/catdocrc\" -DUSERRC=\".catdocrc\" -DHAVE_CONFIG_H -c -o analyze.o analyze.c
analyze.c:42:14: warning: passing 'unsigned char [129]' to par
@abbood
abbood / gist:fee1b36266d567b0872cef9681448213
Created May 16, 2017 13:59
output of ./configure for catdoc
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether byte ordering is bigendian... no
checking for a BSD compatible install... /usr/bin/install -c
checking for wish... /usr/bin/wish
checking checking if wish version is 8.1 or above ... yes
//Rextester.Program.Main is the entry point for your code. Don't change it.
//Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace Rextester
{
upstream backend {
server 127.0.0.1:8065;
}
server {
listen 80;
server_name mattermost.lobolabshq.com;
# return 301 https://$server_name$request_uri;
}