Skip to content

Instantly share code, notes, and snippets.

View Chrisdanyk's full-sized avatar
🎯
Focusing

christian kandanda Chrisdanyk

🎯
Focusing
  • Kinshasa
  • 23:17 (UTC +01:00)
View GitHub Profile
@Chrisdanyk
Chrisdanyk / build-mpv_silicon.sh
Created January 23, 2024 12:10 — forked from dbrookman/build-mpv_silicon.sh
How to build mpv & mpv.app on an Apple silicon Mac
#!/usr/bin/env bash
# Builds mpv & mpv.app on Apple silicon Macs.
# Run this script from the root directory of the mpv repo.
# if anything fails, gtfo
set -ex
meson setup build
meson compile -C build
Key Sublime Text 3.2.1 Build 3207
----- BEGIN LICENSE -----
Member J2TeaM
Single User License
EA7E-1011316
D7DA350E 1B8B0760 972F8B60 F3E64036
B9B4E234 F356F38F 0AD1E3B7 0E9C5FAD
FA0A2ABE 25F65BD8 D51458E5 3923CE80
87428428 79079A01 AA69F319 A1AF29A4
A684C2DC 0B1583D4 19CBD290 217618CD
Deploy App(war) in Glassfish & run through virtual server
open glassfish admin console
http://<server-ip>:<admin-port>
eg http://192.168.10.1:4848
Set environment for domain
Goto Enterprise server/Server admin -> System properties tab -> click Add propertie
Enter: Name=environment, value=testing/development
Deploy war file
- Goto -> Application -> click on deploy
#!/bin/bash
sudo add-apt-repository ppa:noobslab/macbuntu -y
sudo add-apt-repository ppa:noobslab/themes -y
sudo apt-get update
#Download Wallpapers MACOSX
cd /usr/share/backgrounds/
wget http://drive.noobslab.com/data/Mac/MacBuntu-Wallpapers.zip
unzip MacBuntu-Wallpapers.zip
@Chrisdanyk
Chrisdanyk / PyGameMP3Player.py
Created December 28, 2016 23:39 — forked from juehan/PyGameMP3Player.py
MP3Player Using PyGame
'''
Created on 2012. 2. 19.
This module is for playing mp3 (limited) and wav formatted audio file
@author: John
'''
import pygame
def playsound(soundfile):
"""Play sound through default mixer channel in blocking manner.
This will load the whole sound into memory before playback