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
| 'use client' | |
| import { track } from '@vercel/analytics' | |
| import NextLink, { LinkProps as NextLinkProps } from 'next/link' | |
| import React from 'react' | |
| type TrackableNextLink = NextLinkProps & | |
| React.AnchorHTMLAttributes<HTMLAnchorElement> & { | |
| eventName: string | |
| eventProperties?: Record<string, string | number | boolean | null> | |
| } |
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
| DIRECTORIES=go list -f '{{.Dir}}' ./... | grep -v /vendor/ | |
| PACKAGES=go list ./... | grep -v /vendor/ | |
| .PHONY: build | |
| build: clean | |
| mkdir -p bin/ && go build -o ./bin/ `$(call DIRECTORIES)` | |
| .PHONY: clean | |
| clean: | |
| go clean |
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
| unalias gr | |
| gr() { | |
| if [ -z $1 ]; then branch="master"; else branch=$1; fi | |
| old_stash=$(git rev-parse -q --verify refs/stash) | |
| git stash save -u | |
| git checkout $branch | |
| git pull --rebase | |
| git checkout - |
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 eth_price="curl --silent -XGET https://api.coinbase.com/v2/prices/ETH-EUR/buy | python3 -c \"import sys, json; print(json.load(sys.stdin)['data']['amount'] + '€')\"" |
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
| # Install/Update dependencies with npm (using yarn), bower, composer and then runs gulp. | |
| alias depsinstall="if [ -f ./package.json ]; then yarn ; fi && if [ -f ./bower.json ]; then bower install ; fi && if [ -f ./composer.json ]; then composer install ; fi && if [ -f ./gulpfile.js ]; then gulp ; fi" | |
| alias depsupdate="if [ -f ./package.json ]; then yarn upgrade ; fi && if [ -f ./bower.json ]; then bower update ; fi && if [ -f ./composer.json ]; then composer update ; fi && if [ -f ./gulpfile.js ]; then gulp ; fi" |
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
| var deferred, isFunction, isReady, ready, waitUntil, wrapper, | |
| slice = [].slice; | |
| wrapper = function(window, jQuery, opts) { | |
| var $, Trello, apiEndpoint, authEndpoint, authorizeURL, baseURL, collection, fn, fn1, i, intentEndpoint, j, key, len, len1, localStorage, location, parseRestArgs, readStorage, ref, ref1, storagePrefix, token, type, version, writeStorage; | |
| $ = jQuery; | |
| key = opts.key, token = opts.token, apiEndpoint = opts.apiEndpoint, authEndpoint = opts.authEndpoint, intentEndpoint = opts.intentEndpoint, version = opts.version; | |
| baseURL = apiEndpoint + "/" + version + "/"; | |
| location = window.location; | |
| Trello = { |
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
| <?php | |
| namespace App\Http\Requests; | |
| class ExampleRequest extends Request | |
| { | |
| /** | |
| * Determine if the user is authorized to make this request. | |
| * | |
| * @return bool |
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
| <?php | |
| use Carbon\Carbon; | |
| public function oaDateToFormat($OADate, $format = 'Y-m-d H:i:s') | |
| { | |
| $date = Carbon::createFromFormat('Y-m-d H:i:s', '1899-12-30 00:00:00'); | |
| $date->addSeconds($OADate * 24 * 60 * 60); |
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
| // File: app/database/seeds/DatabaseSeeder.php | |
| class DatabaseSeeder extends Seeder { | |
| public function run() | |
| { | |
| if (App::environment() === 'production') exit(); | |
| Eloquent::unguard(); |
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
| άκουσες = akouses.gr - akouses.com | |
| άλλαξε = allakse.com | |
| άλλοι = alloi.gr | |
| άλλον = allon.gr | |
| άλλους = allous.gr | |
| άνδρα = andra.gr | |
| άνθρωπο = anthropo.gr | |
| άνοιξε = anoikse.gr - anoikse.com | |
| άντρα = antra.gr | |
| άρεσε = arese.gr |
NewerOlder