This file contains 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
JSONAPIObject: | |
description: Includes the current JSON:API version for this specification as well as optional meta information | |
type: object | |
required: | |
- version | |
properties: | |
version: | |
type: string | |
default: '1.0' | |
example: '1.0' |
This file contains 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
package main | |
import ( | |
"crypto/tls" | |
"crypto/x509" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net/http" | |
) |
This file contains 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
package main | |
import ( | |
"gorm.io/gorm" | |
"log" | |
) | |
import "gorm.io/driver/postgres" | |
type StaffAttribute struct { | |
Department string `gorm:"type:string"` |
This file contains 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
$ git rev-list -n 1 HEAD -- /path/to/dir | |
a92a0d4bd882a352cd3866882b44bb5efa58116f | |
$ git checkout a92a0d4bd882a352cd3866882b44bb5efa58116f^ -- /path/to/dir | |
# https://stackoverflow.com/questions/30875205/restore-a-deleted-folder-in-a-git-repo |
This file contains 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
variable "aws_access_key" {} | |
variable "aws_secret_key" {} | |
provider "aws" { | |
access_key = "${var.aws_access_key}" | |
secret_key = "${var.aws_secret_key}" | |
region = "us-east-1" | |
} | |
resource "aws_vpc" "terraform-testing" { |
This file contains 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
# Maintainer: Morteza NourelahiAlamdari <[email protected]> | |
# This project is the copy of tabbed-git AUR package but with some changes. | |
pkgname=tabbed | |
pkgver=0.7 | |
pkgrel=1 | |
pkgdesc="Simple generic tabbed fronted to xembed aware applications" | |
arch=('x86_64') | |
url="https://tools.suckless.org/tabbed/" | |
license=('MIT/X') | |
depends=('libxft') |
This file contains 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
package main | |
import ( | |
"context" | |
"fmt" | |
) | |
func main() { | |
c := context.WithValue(context.Background(), "foo", map[string]string{"name": "mort"}) | |
var foo map[string]string |
This file contains 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
package main | |
import ( | |
"fmt" | |
) | |
type User struct { | |
Name string | |
Age int | |
} |
This file contains 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
$(shell [ ! -e /tmp/go-makefile ] && curl https://raw.githubusercontent.com/atkrad/wait4x/main/Makefile > /tmp/go-makefile) | |
include /tmp/go-makefile |
This file contains 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
# Maintainer: Morteza NourelahiAlamdari <[email protected]> | |
# This is copy of zsh-autocomplete-git with a little changes | |
# to download the latest released version instead of git. | |
pkgname=zsh-autocomplete | |
pkgver=22.01.21 | |
pkgrel=1 | |
pkgdesc='Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.' | |
arch=('any') | |
url='https://github.com/marlonrichert/zsh-autocomplete' |