This file contains hidden or 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
#!/bin/bash | |
FILE=./input.doc | |
if test -f "$FILE"; then | |
lowriter --convert-to pdf:writer_pdf_Export input.doc | |
fi | |
mkdir image | |
pdftoppm input.pdf image/page -png | |
mkdir text |
This file contains hidden or 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
# Dependencies | |
apt update | |
apt install curl git libpq-dev gnupg2 postgresql-11 | |
gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB | |
\curl -sSL https://get.rvm.io | bash -s stable --rails | |
source /usr/local/rvm/scripts/rvm | |
# DB setup | |
sudo -u postgres psql | |
postgres=# create database TodoLegalDB_Development; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<style> | |
* { | |
box-sizing: border-box; | |
} | |
#myInput { |
This file contains hidden or 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
#!/bin/bash | |
FILE=./input.doc | |
if test -f "$FILE"; then | |
lowriter --convert-to pdf:writer_pdf_Export input.doc | |
fi | |
mkdir image | |
pdftoppm input.pdf image/page -png | |
# DUPLICATE |
This file contains hidden or 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
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
# | |
default: &default | |
adapter: sqlite3 | |
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> | |
timeout: 5000 |
This file contains hidden or 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
# Dependencies | |
sudo apt install libpq-dev postgresql-11 | |
# Setting up the DB | |
sudo -u postgres psql | |
postgres=# create database TodoLegalDB_Development; | |
postgres=# alter user postgres with encrypted password 'MyPassword'; | |
\q |
This file contains hidden or 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
LoginId:fea4e82c43fdb2f749b5208bbe7b2347 | |
EpicAccountId:6c257a0b1d2c49a6b530cc49646bf593 | |
Unhandled exception | |
KERNELBASE | |
UE4Editor_modio!__delayLoadHelper2() [d:\agent\_work\3\s\src\vctools\delayimp\delayhlp.cpp:323] | |
UE4Editor_modio!_tailMerge_modio_dll() | |
UE4Editor_modio!FModioSubsystem::Init() [c:\users\antar\documents\unreal projects\ue4example\plugins\modio\source\modio\private\modiosubsystem.cpp:782] | |
UE4Editor_modio!FModioSubsystem::Create() [c:\users\antar\documents\unreal projects\ue4example\plugins\modio\source\modio\private\modiosubsystem.cpp:61] |
This file contains hidden or 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
FString ASteamAuth::base64_encode(uint8 const* bytes_to_encode, uint32 in_len) | |
{ | |
static const FString base64_chars = | |
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" | |
"abcdefghijklmnopqrstuvwxyz" | |
"0123456789+/"; | |
FString ret; | |
int32 i = 0; | |
int32 j = 0; |
This file contains hidden or 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
cmake_minimum_required(VERSION 3.5) | |
project(modio) | |
set (CMAKE_CXX_STANDARD 11) | |
IF( test AND test STREQUAL "on" ) | |
message("Testing enabled") | |
file(GLOB TEST_SRC_FILES ${PROJECT_SOURCE_DIR}/src/*.cpp) | |
add_subdirectory(ext/googletest) | |
enable_testing() | |
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR}) |
This file contains hidden or 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
upstream thin { | |
server 127.0.0.1:3000; | |
} | |
server { | |
server_name balancer.todolegal.app; | |
listen 80; | |
listen [::]:80; |