This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| require "bundler/inline" | |
| using_patch = ENV["USING_PATCH"] | |
| gemfile(true) do | |
| source "https://rubygems.org" | |
| git_source(:github) { |repo| "https://github.com/#{repo}.git" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| # Example Usage | |
| # | |
| # ruby ~/Desktop/photos.rb prepare 15/04/2023,16/04/2023 --extension=jpg | |
| # | |
| require 'bundler/inline' | |
| gemfile do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| puts Rails.application.class.name | |
| sleep 3 | |
| puts 1 | |
| sleep 3 | |
| puts 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias gra='git remote add' | |
| alias grrm='git remote remove' | |
| alias ga='git add' | |
| alias gst='git status' | |
| alias ggpush='git push origin "$(git_current_branch)"' | |
| alias gpf!='git push --force' | |
| alias gl='git pull' | |
| alias gc='git commit -v' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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"> | |
| <array> | |
| <dict> | |
| <key>name</key> | |
| <string>AED</string> | |
| <key>symbol</key> | |
| <string>Dh</string> | |
| </dict> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "color_scheme": "Packages/Darkula Color Scheme/darkula.tmTheme", | |
| "font_size": 10, | |
| "ignored_packages": ["Vintage"], | |
| "theme": "Adaptive.sublime-theme", | |
| "rulers": [120], | |
| "tab_size": 2, | |
| "translate_tabs_to_spaces": true, | |
| "always_show_minimap_viewport": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private func preloadData() { | |
| let preloadedDataKey = "didPreloadData" | |
| let userDefaults = UserDefaults.standard | |
| if userDefaults.bool(forKey: preloadedDataKey) == false { | |
| guard let dataPath = Bundle.main.url(forResource: "PlistName", withExtension: "plist") else { | |
| return | |
| } | |
| let backgroundContext = persistentContainer.newBackgroundContext() |