Skip to content

Instantly share code, notes, and snippets.

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

Manny Isles mannysoft

🏠
Working from home
View GitHub Profile
brew reinstall libsodium
brew reinstall php
brew link --overwrite php
<?php
use Office365\Runtime\Auth\UserCredentials;
use Office365\Runtime\Auth\ClientCredential;
use Office365\SharePoint\ClientContext;
use Office365\SharePoint\File;
use Office365\Runtime\Http\RequestException;
$credentials = new ClientCredential('xxxx', 'xxxxxx=');
$ctx = (new ClientContext('https://xxxx.sharepoint.com/sites/backup'))->withCredentials($credentials);
@mannysoft
mannysoft / beloapplatest.xml
Last active September 19, 2022 05:48
Test
<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
<title>For unit test only</title>
<item>
<title>Version 2.0</title>
<description>desc Версия</description>
<pubDate>Sat, 26 Jul 2014 15:20:11 +0000</pubDate>
<enclosure url="http://localhost:1337/Sparkle_Test_App.zip" sparkle:version="2.0" />
<sparkle:tags> <sparkle:criticalUpdate /> </sparkle:tags>
#!/usr/bin/env bash
echo "--- Welcome User. This is very exciting. ---"
echo "--- Updating packages list ---"
sudo apt-get install software-properties-common
#https://colorfield.be/blog/fix-following-signatures-couldnt-be-verified-because-public-key-not-available-ubuntu-1604
sudo add-apt-repository ppa:ondrej/nginx
sudo add-apt-repository ppa:ondrej/nginx-mainline
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
#!/usr/bin/env bash
# curl -LO https://gist.githubusercontent.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68/raw/04dba433394c7a03d891f94c75b52975d2e7a621/install.sh
# chmod +x install.sh
# ./install.sh
# For upgrade from PHP 7.4 to 8.0
# https://chasingcode.dev/blog/upgrade-php-7-4-to-8-ubuntu/
echo "--- Welcome User. This is very exciting. ---"
#!/usr/bin/env bash
# curl -LO https://gist.githubusercontent.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68/raw/04dba433394c7a03d891f94c75b52975d2e7a621/install.sh
# chmod +x install.sh
# ./install.sh
# ppk to pem:
# puttygen key.ppk -O private-openssh -o key.pem
echo "--- Welcome User. This is very exciting. ---"
echo "--- Updating packages list ---"
@mannysoft
mannysoft / installing_cassandra.md
Created June 13, 2019 04:38 — forked from hkhamm/installing_cassandra.md
Installing Cassandra on Mac OS X

Installing Cassandra on Mac OS X

Install Homebrew

Homebrew is a great little package manager for OS X. If you haven't already, installing it is pretty easy:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
{
"to":"+9779856034616,+9779803595362",
"message":"This is test message",
"sender_id": "sms.to",
"mode": "mock"
}
#!/usr/bin/env bash
# curl -LO https://gist.githubusercontent.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68/raw/04dba433394c7a03d891f94c75b52975d2e7a621/install.sh
# chmod +x install.sh
# ./install.sh
# ppk to pem:
# puttygen key.ppk -O private-openssh -o key.pem
echo "--- Welcome User. This is very exciting. ---"
echo "--- Updating packages list ---"
@mannysoft
mannysoft / php72.install
Last active December 17, 2018 08:44
php72
#!/usr/bin/env bash
# curl -LO https://gist.githubusercontent.com/mannysoft/e4b54662b3aec5c0b1b88be52177ab68/raw/04dba433394c7a03d891f94c75b52975d2e7a621/install.sh
# chmod +x install.sh
# ./install.sh
# ppk to pem:
# puttygen key.ppk -O private-openssh -o key.pem
echo "--- Welcome User. This is very exciting. ---"
echo "--- Updating packages list ---"