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
sudo xmodmap -e 'add mod3 = Scroll_Lock' |
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
<?php | |
// validate | |
public function bank_check($short, $account) | |
{ | |
$bank_v_access_key = env('BANK_ACCOUNT_CHECK_KEY'); | |
$bank_v_password = env('BANK_ACCOUNT_CHECK_PASSWORD'); | |
$sort_code = $short; | |
$account_number = $account; |
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
// file->prefrences -> Configure User Snippets -> SEARCH (typescriptreact.json) -> Add the below code | |
"Typescript React Function Component": { | |
"prefix": "rh", | |
"body": [ | |
"import React from 'react'", | |
"", | |
"interface ${TM_FILENAME_BASE}Props {", | |
"$1", | |
"}", |
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
<?php | |
return [ | |
/* | |
|---------------------------------------------------------------------------- | |
| Google application name | |
|---------------------------------------------------------------------------- | |
*/ | |
'application_name' => env('GOOGLE_APPLICATION_NAME', ''), |
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
<!-- | |
'************************************************************************* | |
' | |
' b-PAC 3.2 Component Sample for Extensions (JS_NamePlate.html) | |
' | |
' (C)Copyright Brother Industries, Ltd. 2019 | |
' | |
'*************************************************************************/ | |
--> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
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
Follow this instractions | |
1. Install usig WSL (This step only for windows machine) | |
Windows Subsystem Linux: https://docs.microsoft.com/en-us/windows/wsl/install | |
2. check distribution | |
uname | |
3. install redis | |
sudo apt-get update |
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
import React from "react"; | |
import { DatePicker, Button } from "antd"; | |
import styles from "./DateRangeFilter.module.scss"; | |
class DateRangeFilter extends React.PureComponent { | |
handleChange = (value) => { | |
if (!value) return; |
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
using Newtonsoft.Json; | |
using Newtonsoft.Json.Linq; | |
public class StringToLongConverter : JsonConverter | |
{ | |
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) | |
{ | |
JToken jt = JValue.ReadFrom(reader); | |
return jt.Value<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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Security.Cryptography; | |
using System.IO; | |
namespace Your_Namespace | |
{ |
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
1. Open run (Win + R) and enter this location => D:\xampp\apache\conf\extra | |
2. Open this file with Any Editor (VS Code recommeded) => httpd-vhosts.conf | |
3. Add this line and save the file | |
<VirtualHost *:80> | |
DocumentRoot "D:/xampp/htdocs/demo-app/demo-api/public" | |
ServerName demo-api.test | |
</VirtualHost> | |
4. Open run (Win + R) and enter this location => C:\Windows\System32\drivers\etc\hosts |
NewerOlder