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
| LongMonth // "January" | |
| Month // "Jan" | |
| NumMonth // "1" | |
| ZeroMonth // "01" | |
| LongWeekDay // "Monday" | |
| WeekDay // "Mon" | |
| Day // "2" | |
| UnderDay // "_2" | |
| ZeroDay // "02" | |
| UnderYearDay // "__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
| #include <iostream> | |
| void bp(){} | |
| void test() { | |
| int i; | |
| i = 100; | |
| bp(); |
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
| 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 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
| package main | |
| import ( | |
| "crypto/tls" | |
| "crypto/x509" | |
| "flag" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| ) |
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
| package main | |
| import ( | |
| "gorm.io/gorm" | |
| "log" | |
| ) | |
| import "gorm.io/driver/postgres" | |
| type StaffAttribute struct { | |
| Department string `gorm:"type:string"` |
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
| $ 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 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
| 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 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
| # 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 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
| 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 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
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| type User struct { | |
| Name string | |
| Age int | |
| } |