Skip to content

Instantly share code, notes, and snippets.

View donjose24's full-sized avatar
💭
💲

Jose Mari Ramos donjose24

💭
💲
  • Philippines
View GitHub Profile
@donjose24
donjose24 / readme.md
Last active October 5, 2024 02:56
How to install throne and liberty for PH (and maybe sea idk) on steam

What do you need

  • VPN (We used tunnel bear)
  • Browser
  • Steam installed to your PC

Steps

  1. If you have your steam logged in on your Browser, Logout
  2. Using your VPN, Connect to anywhere in NA
  3. Using your browser, google "Throne and Liberty steam)
{
"data": [
{
"id": 6,
"created_at": "2020-08-18T10:47:46.979725+08:00",
"updated_at": "2020-08-18T10:47:46.979725+08:00",
"deleted_at": null,
"specialty": "sports_nutrition",
"years_of_experience": 10,
"customers": null,
<?php
/**
* This code retrieves course data from an external API and displays it in the user's
* My Account area. A merchant has noticed that there's a delay when loading the page.
*
* 1) What changes would you suggest to reduce or remove that delay?
* 2) Is there any other code changes that you would make?
*/
public function add_my_courses_section() {
$api_user_id = get_user_meta( get_current_user_id(), '_external_api_user_id', true );
{
"targets": {
"slack_target": {
"type": "url_target_v2",
"title": "Slack integration endpoint",
"method": "post",
"content_type": "application/json",
"target_url": "https://5cb08f33.ngrok.io"
}
},
@donjose24
donjose24 / Laravel PHP7 LEMP AWS.md
Created March 13, 2017 13:53 — forked from santoshachari/Laravel PHP7 LEMP AWS.md
Laravel 5.x on Ubuntu 14.x, PHP 7.x, Nginx 1.9.x

#Steps to install latest Laravel, LEMP on AWS Ubuntu 14.4 version. This tutorial is the improvised verision of this tutorial on Digitalocean based on my experience.

Install PHP 7 on Ubuntu

Run the following commands in sequence.

sudo apt-get install -y language-pack-en-base
sudo LC_ALL=en_US.UTF-8 add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install zip unzip
_cleanupLineBreaks: function(toBeCleaned) {
var cleaned = toBeCleaned;
_.each(cleaned, function(value, key) {
var value = _.escape(value).replace(/\n/g, '<br>');
cleaned[key] = value.replace('<br><br><br><br><br>','<br>'); //replace excess line breaks on address
});
return cleaned;
},