Skip to content

Instantly share code, notes, and snippets.

View prappo's full-sized avatar
AI

Prappo prappo

AI
View GitHub Profile
@prappo
prappo / .env
Created August 21, 2016 10:22
env file for Laravel postgresql database
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:hyHUpukUUigKeEsxpGeTW4UZ+Lg+WAWxcc4/BjlgNtE=
APP_URL=http://localhost
DB_CONNECTION=pgsql
DB_HOST=hostname
DB_PORT=5432
DB_DATABASE=Your database name
DB_USERNAME=Your database username
Social guru
- Linkedin
1. autoschedule posts +posting to groups
2. posting to friends (bulk message
3. Connection Messages
4. search for people
5. send connection requests in bulk to people from those searches
6. greet people once they connectedd
APP_ENV=local
APP_DEBUG=true
APP_KEY=base64:SLcf0aj5F8rt/mEcalo0dQzp31z6/aGvz0AawIkwvs4=
DB_CONNECTION=sqlite
@prappo
prappo / main.dart
Created December 31, 2019 18:47
Flutter - Building Lists with JSON Data
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:http/http.dart' as http;
import 'dart:convert';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
.column {
color: black;
text-shadow: 0 0 2px rgba(0,0,0,.3);
font-family: sans-serif;
box-shadow:
inset 0 0 2px 0 rgba(255,255,255,.4),
inset 0 0 3px 0 rgba(0,0,0,.4),
inset 0 0 3px 5px rgba(0,0,0,.05),
2px 2px 4px 0 rgba(0,0,0,.25);
{
AF: 'Afghanistan',
AL: 'Albania',
DZ: 'Algeria',
AS: 'American Samoa',
AD: 'Andorra',
AO: 'Angola',
AI: 'Anguilla',
AQ: 'Antarctica',
AG: 'Antigua and Barbuda',
@prappo
prappo / grapesjssearch.js
Created February 23, 2021 12:04
Grapesjs Search blocks
var bm = editor.BlockManager;
var blocks = bm.getAll();
bm.render(blocks.filter(
block => {
let blockName = block.attributes.label;
return blockName.toLowerCase().includes(text);
}));
@prappo
prappo / active.js
Last active March 1, 2021 17:22
menu items active based on hash url
jQuery(document).ready(function() {
if (/Android|webOS|iPhone|iPad|Mac|Macintosh|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
function setActive() {
setTimeout(function() {
var hash = window.location.hash.substr(1);
if (hash) {
@prappo
prappo / media-query.css
Created June 11, 2021 18:50 — forked from gokulkrishh/media-query.css
CSS Media Queries for Desktop, Tablet, Mobile.
/*
##Device = Desktops
##Screen = 1281px to higher resolution desktops
*/
@media (min-width: 1281px) {
/* CSS */
@prappo
prappo / docker-compose.yml
Created October 6, 2021 11:32
Docker WordPress Development Environment
version: "3.3"
services:
db:
container_name: 'wordpress-database'
image: 'mysql:5.7'
volumes:
- './database/mysql:/var/lib/mysql'
ports:
- 18766:3306
environment: