#Add sidekiq, sinatra and whenever to the Gemfile
gem 'sidekiq'
gem 'sinatra', require: false
gem "whenever", require: falseThen install the gem
$ bundle install#Add sidekiq, sinatra and whenever to the Gemfile
gem 'sidekiq'
gem 'sinatra', require: false
gem "whenever", require: falseThen install the gem
$ bundle install#Step 1: Remove previous Kingsoft Office package
sudo apt-get purge kingsoft-office#Step 2: Install Kingsoft Office (64-bit)
sudo dpkg --add-architecture i386
sudo apt-get update
wget kingsoft kdl.cc.ksosoft.com/wps-community/kingsoft-office_9.1.0.4280~a12p4_i386.deb
sudo dpkg -i kingsoft-office_9.1.0.4280~a12p4_i386.deb#Add the Page Loader Div Add the below div right below the opening tag.
<div class="loader"></div>#Add some CSS
.loader {
position: fixed;
left: 0px;| <button type="button" name="submit" class="btn-save btn-primary btn">Save</button> | |
| <script> | |
| $(document).ready(function() { | |
| $('.btn-save').on('click', function() { | |
| $.ajax({ | |
| type: 'POST', | |
| url: '/workspaces/<%= params[:id] %>', | |
| data: { | |
| _method: "patch", |
| package chuong_6; | |
| import java.io.BufferedReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.util.HashMap; | |
| import java.util.Iterator; | |
| public class Bai6_3 { | |
| public static void main(String[] args) throws IOException { |
| Atom_backup |
| #!/bin/sh | |
| # Config for SSL. | |
| echo "--- Making SSL Directory ---" | |
| mkdir /etc/nginx/ssl | |
| echo "--- Copying $i SSL crt and key ---" | |
| openssl req -nodes -new -x509 -keyout /etc/nginx/ssl/server.key -out /etc/nginx/ssl/server.crt -subj "/C=US/ST=NY/L=NYC/O=Dis/CN=www.example.com" | |
| echo "--- Turning SSL on in nginx.conf. ---" |