Skip to content

Instantly share code, notes, and snippets.

View volkovasystems's full-sized avatar
🏠
Working from home

Richeve S. Bebedor volkovasystems

🏠
Working from home
  • volkovasystem
  • Philippines
View GitHub Profile
app.use(
function( request, response, proceed ){
response
.header(
(
"Access-Control-Allow-Origin"
),
(
"*"
@volkovasystems
volkovasystems / delete-cookie.js
Last active June 29, 2021 22:13
delete-cookie
@volkovasystems
volkovasystems / gist:e45eed803f7d8060caf10d9a9c1530c8
Created December 19, 2020 12:57
git move branch to orphaned branch
If the orphaned branch is master and you want to move the main branch
(note that all branches must have corresponding remote branches to work properly)
git checkout master
then
git branch -M master main
then
@volkovasystems
volkovasystems / get-unique-array-object.js
Last active December 12, 2020 00:28
get all unique element object in array by property and return as is
Array
.from(
(
(
new Map(
(
array
.map(
function( element ){
return (
{
"buildDependencyList": [
{
"@namespace": "terser",
"@reference": "npm:@volkovasystem/terser",
"@version": "4.6.13"
},
{
"@namespace": "parcel",
"@reference": "npm:@volkovasystem/parcel-bundler",
@volkovasystems
volkovasystems / get-date-time.js
Created March 30, 2020 22:10
Get Date Time Procedure
const getDateTime = (
function getDateTime( ){
const dateNowObject = (
new Date( )
);
return (
[
(
dateNowObject
@volkovasystems
volkovasystems / get-time-stamp.js
Created March 30, 2020 22:04
Get Time Stamp Procedure
const getTimeStamp = (
function getTimeStamp( ){
const dateNowObject = (
new Date( )
);
return (
[
(
dateNowObject
@volkovasystems
volkovasystems / get-date-stamp.js
Last active March 30, 2020 22:03
Get Date Stamp Procedure
const getDateStamp = (
function getDateStamp( ){
const dateNowObject = (
new Date( )
);
return (
[
(
dateNowObject
@volkovasystems
volkovasystems / get-date-time-stamp.js
Created March 30, 2020 22:01
Get Date Time Stamp Procedure
const getDateTimeStamp = (
function getDateTimeStamp( ){
const dateNowObject = (
new Date( )
);
return (
[
(
dateNowObject