Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

abhishek verma absk1317

🎯
Focusing
  • Mobikwik
  • BENGALURU/BANGALORE
Block or report user

Report or block absk1317

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View backup-gem.rb
# encoding: utf-8
Model.new(:producion_backup, 'Description for producion_backup') do
archive :configs do |archive|
archive.add "/home/ubuntu/projects/api/shared/config/"
archive.add '/etc/nginx/'
end
database PostgreSQL do |db|
db.name = "db_name"
@absk1317
absk1317 / app_version.gradle
Created Sep 20, 2019 — forked from IlyaEremin/app_version.gradle
Npm version for gradle
View app_version.gradle
def getVersionName = { getVersionProps()['appVersionName'] }
def getVersionProps() {
def versionPropsFile = file('gradle.properties')
if (!versionPropsFile.exists()) {
versionPropsFile.createNewFile()
}
def versionProps = new Properties()
versionProps.load(new FileInputStream(versionPropsFile))
return versionProps
@absk1317
absk1317 / clear_gitlab_artifacts.rb
Created Sep 16, 2019
delete old gitlab artifacts
View clear_gitlab_artifacts.rb
require 'httparty'
token = 'YOUR_TOKEN'
project_id = 'PROJECT_ID'
query = { per_page: 100 }
headers = { "PRIVATE-TOKEN" => token }
server = "https://gitlab.com/api/v4/projects/#{project_id}/jobs"
response = HTTParty.get(server, query: query, headers: headers)
View keybase.md

Keybase proof

I hereby claim:

  • I am absk1317 on github.
  • I am absk1317 (https://keybase.io/absk1317) on keybase.
  • I have a public key ASArQ2o2jBpV1x4h7vRMzBF9SJe53AQYyNOLiTFbeKnI-Qo

To claim this, I am signing this object:

@absk1317
absk1317 / .gitconfig
Created Aug 25, 2019 — forked from veggiemonk/.gitconfig
simple zshrc config file with Oh-My-ZSH
View .gitconfig
[user]
name = Julien Bisconti
email = ******
[core]
excludesfile = ~/.gitignore
pager = diff-so-fancy | less --tabs=1,5 -R
editor = /usr/bin/vim
[alias]
wow = log --all --graph --decorate --oneline --simplify-by-decoration
@absk1317
absk1317 / VSCode-extensions
Created Jun 19, 2019 — forked from deepu105/VSCode-extensions
VSCode plugins I use
View VSCode-extensions
code --install-extension QassimFarid.ejs-language-support
code --install-extension SirTori.indenticator
code --install-extension TimonVS.ReactSnippetsStandard
code --install-extension TwentyChung.jsx
code --install-extension abusaidm.html-snippets
code --install-extension asvetliakov.move-imports
code --install-extension aws-scripting-guy.cform
code --install-extension bierner.markdown-preview-github-styles
code --install-extension ccitiriga.TSMethodCreator
code --install-extension christian-kohler.npm-intellisense
View bitbucket-pipelines.yml
image: absk1317/ruby-node-pg:2.6
pipelines:
default:
- parallel:
- step:
name: Test
caches:
- bundler
script:
- cp .env.example .env
@absk1317
absk1317 / .rubocop.yml files
Created Jun 1, 2019 — forked from dsandstrom/.rubocop.yml files
Rubocop config for Ruby 2.5 Rails 5+
View .rubocop.yml files
##
# .rubocop.yml
AllCops:
TargetRubyVersion: 2.5
Include:
- 'config.ru'
- 'Gemfile'
- 'Guardfile'
- 'Rakefile'
We couldn’t find that file to show.
@absk1317
absk1317 / elastic-search-docker-compose.yml
Created Mar 30, 2019
docker compose config for setting up elastic search with docker.
View elastic-search-docker-compose.yml
version: '2'
services:
elasticsearch1:
image: docker.elastic.co/elasticsearch/elasticsearch:5.4.0
container_name: elasticsearch1
restart: always
environment:
- cluster.name=docker-cluster
- bootstrap.memory_lock=true
- xpack.security.enabled=false
You can’t perform that action at this time.